Results 1 to 4 of 4

Thread: [Resolved] Excel VBA and SaveAs dialog box

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Oct 2000
    Location
    Scotland
    Posts
    96

    Angry [Resolved] Excel VBA and SaveAs dialog box

    Hi,

    I want to save some spreadsheets as part of a macro but I want to let the user choose where to store them - in other words I want to use the SaveAs dialog box.

    I know how to do this in VB but I can't get it to work in Excel/VBA.

    Does anyone have any ideas??

    Thanks

    H.
    Last edited by Hollie; Jun 20th, 2002 at 06:08 AM.
    Just trying to muddle through...

  2. #2
    Fanatic Member Gaffer's Avatar
    Join Date
    Nov 2000
    Location
    London
    Posts
    828
    dlgSaveAsString = Application.Dialogs(xlDialogSaveAs).Show

  3. #3

    Thread Starter
    Lively Member
    Join Date
    Oct 2000
    Location
    Scotland
    Posts
    96
    Thanks for that!

    Next stage of my problem:
    I create several spreadsheets in my macro and I only want the SaveAs dialog to appear the first time, allow the user to choose where they want to save all the spreadsheets and then just save all the other spreadsheets there.

    Can this be done?

    H.
    Just trying to muddle through...

  4. #4

    Thread Starter
    Lively Member
    Join Date
    Oct 2000
    Location
    Scotland
    Posts
    96
    Got it!
    Just trying to muddle through...

Posting Permissions

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



Click Here to Expand Forum to Full Width