Results 1 to 2 of 2

Thread: SaveAs dialog in word

  1. #1

    Thread Starter
    Member
    Join Date
    Jul 2003
    Posts
    35

    SaveAs dialog in word

    Code:
    With Dialogs(wdDialogFileSaveAs)
        .Name = strNewFilename
        .Execute
        .Update
        .Show
    End With
    I would be very grateful if someone could tell me whether it is possible to change the directory the saveas dialog defaults to when it is displayed so I can adapt the code above

    Thanks

  2. #2
    Fanatic Member WorkHorse's Avatar
    Join Date
    Jul 2002
    Location
    Where you live.
    Posts
    591
    Just add the path to the Name.

    VB Code:
    1. With Dialogs(wdDialogFileSaveAs)
    2.     .Name = "C:\Program Files\" & strNewFilename
    3.     .Execute
    4.     .Update
    5.     .Show
    6. End With

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