+ Reply to Thread
Results 1 to 5 of 5

Save As Macro

  1. #1
    Registered User
    Join Date
    10-16-2008
    Location
    DFW
    Posts
    15

    Save As Macro

    I'm trying to have a macro that opens the save as window, places the name in cell f5 and then allows you to save the workbook with cell f5 as the filename. I have managed to get the save as window to come up and the cell f5 as the name, but when I press save is doesn't. Here is what I have (also, is there a way to direct this to a specific folder).

    Please Login or Register  to view this content.
    Last edited by beatnik; 10-25-2008 at 10:29 PM.

  2. #2
    Registered User
    Join Date
    06-05-2008
    Posts
    84
    Please Login or Register  to view this content.
    This will just do a Save As and use the what ever is in Cell (F5)+.xls.

  3. #3
    Registered User
    Join Date
    06-05-2008
    Posts
    84
    double post
    Last edited by Slomaro2000; 10-22-2008 at 01:48 PM.

  4. #4
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2010, 2019
    Posts
    40,689
    GetSaveAsFilename doesn't actually save the file; it just gets the name -- you have to save it yourself.

    If the user clicks Cancel, it returns False to a Variant or "False" to a string.
    Entia non sunt multiplicanda sine necessitate

  5. #5
    Registered User
    Join Date
    10-16-2008
    Location
    DFW
    Posts
    15
    Well, I managed to get what I needed figured out. Just not the defined folder part.

    Edit update: The tools/options/general tab has the default file location there, I'm complete now.

    Please Login or Register  to view this content.
    Last edited by beatnik; 10-25-2008 at 10:29 PM.

+ 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