Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Word / Programming / September 2005

Tip: Looking for answers? Try searching our database.

Save As Macro

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Kevin - 26 Sep 2005 11:36 GMT
Guys,

I am trying to create a Word 2002 macro that when ran it'll pop up the save
as box which will be a specific network folder.

Can anyone help.

Many Thanks

kevin
Edward Thrashcort - 26 Sep 2005 12:49 GMT
If you name the Sub "FileSaveAs" it will replace the buil-in dialog
CommandName macro

Sub FileSaveAs()
Dim dlg As Dialog
Const NetworkPath = "C:\temp"

Set dlg = Dialogs(wdDialogFileSaveAs)
ChangeFileOpenDirectory NetworkPath
With dlg
   'MsgBox .CommandName
   .Show
End With

End Sub

Eddie
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.