+ Reply to Thread
Results 1 to 3 of 3

Save as macro; File allready exist

  1. #1
    Registered User
    Join Date
    03-06-2012
    Location
    west coast Norway
    MS-Off Ver
    Office 365
    Posts
    55

    Save as macro; File allready exist

    Good day!

    I have a nice macro that saves my workbook as 2 cells in active sheet dictates. It saves as a Name-Week#-Well. This works fine if you only save it once a week, but some users like to save each day. In current macro, Excel will now promt a question to overwrite excicting file with same name, or cancel, when users same more than once in the same week.

    I would like to either automatically add (1), (2) and so on behind original name, or open up the "save as" box where the user can edit the name as desired if choosing no.
    Reading and Googling has only made me more confused...
    Any assistance is most apreciated!

    Please Login or Register  to view this content.
    kind regards
    tigergutt

  2. #2
    Forum Expert millz's Avatar
    Join Date
    08-14-2013
    Location
    Singapore
    MS-Off Ver
    Excel, Access 2016
    Posts
    1,694

    Re: Save as macro; File allready exist

    Try this:
    Please Login or Register  to view this content.

  3. #3
    Registered User
    Join Date
    03-06-2012
    Location
    west coast Norway
    MS-Off Ver
    Office 365
    Posts
    55

    Re: Save as macro; File allready exist

    Beautiful!
    Works like a treat, very much appreciated!

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. How can I add a file to the playlist of VLC when it's allready in use
    By colin2 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 05-09-2013, 03:51 AM
  2. loop until a file name is entered in a save that does not already exist
    By jhamer-arthrex in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-27-2013, 04:10 PM
  3. Have macro over write existing file from control button if file exist
    By pjbassdc in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 11-30-2011, 10:35 AM
  4. [SOLVED] VBA problem to open a file which is allready opened
    By Snoopy in forum Excel General
    Replies: 7
    Last Post: 04-07-2006, 09:10 AM
  5. [SOLVED] Bug when macro tries to open allready opened file
    By Snoopy in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 04-07-2006, 08:20 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1