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 / Excel / Programming / March 2008

Tip: Looking for answers? Try searching our database.

Save as with Default location

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Steve - 21 Mar 2008 21:07 GMT
Hi.  I have the following code, but it doesn't seem to work.  I get
the dialog box for Save As, but it is not bringing in the default
directory I have specified.  Any idea what I am doing wrong?  Thanks!

Sub test()

sStr = "C:\Documents and Settings\Files\workFiles\"
ChDrive sStr
ChDir sStr
 On Error Resume Next
 Application.Dialogs(xlDialogSaveAs).Show

End Sub
Mike H - 21 Mar 2008 21:26 GMT
Steve,

Never tested it by creating your path on my machine but with a valid path on
my machine works fine

Mike

> Hi.  I have the following code, but it doesn't seem to work.  I get
> the dialog box for Save As, but it is not bringing in the default
[quoted text clipped - 9 lines]
>
> End Sub
Steve - 21 Mar 2008 21:43 GMT
On my machine it always defaults to the folder that was last used in a
Save.

> Steve,
>
[quoted text clipped - 18 lines]
>
> - Show quoted text -
 
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.