+ Reply to Thread
Results 1 to 2 of 2

Save with 2 names

  1. #1
    Registered User
    Join Date
    07-07-2004
    Posts
    11

    Save with 2 names

    How would you write a macro that would automate saving a spreadsheet file twice using two different names. File saveas FILENAME1, File save as FILENAME2? I don't really want a backup file, I need an original file that is saved, but I will allow others into the second file so the original stays intact.

    Thanks!

  2. #2
    Bill Kuunders
    Guest

    Re: Save with 2 names

    Just an example....
    This instruction can be in the this workbook code __before close__
    ActiveWorkbook.Save
    ActiveWorkbook.SaveCopyAs "c:\backup\curr,b4,roll.XLS"

    the first line will just do a normal save
    the second line does a save with the new name without changing the name of
    the open file

    But,,,,,,, if you want the original file without any changes then I suggets
    that you take a copy before
    anything else happens and store that somewhere save.
    The automation will only take a copy of the changed file unless you take a
    copy before opening the file.

    --
    Greetings from New Zealand
    Bill K


    "tclark14" <[email protected]> wrote in
    message news:[email protected]...
    >
    > How would you write a macro that would automate saving a spreadsheet
    > file twice using two different names. File saveas FILENAME1, File save
    > as FILENAME2? I don't really want a backup file, I need an original
    > file that is saved, but I will allow others into the second file so the
    > original stays intact.
    >
    > Thanks!
    >
    >
    > --
    > tclark14
    > ------------------------------------------------------------------------
    > tclark14's Profile:
    > http://www.excelforum.com/member.php...o&userid=11502
    > View this thread: http://www.excelforum.com/showthread...hreadid=529008
    >




+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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