Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default changing directories...with vba

changing directories...with vb

i would like to change the default directory (e.g., for use with the file save as)..

thank you.
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,327
Default changing directories...with vba


Sub test()
Dim Mydir As String
Mydir = "C:\Temp"
ChDrive Mydir
ChDir Mydir
Application.Dialogs(xlDialogSaveWorkbook).Show
End Sub

HTH. Best wishes Harald

"mjschukas" skrev i melding
...
changing directories...with vba

i would like to change the default directory (e.g., for use with the file

save as)...

thank you.



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default changing directories...with vba

thank you...! works great..

and now, how can i control the: "Save In", "File Name", and "Save As Type" comboboxes..

thanks!
  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,327
Default changing directories...with vba

Dialogs are for human interaction. What is it you want done ?

Best wishes Harald


"mjschukas" skrev i melding
...
thank you...! works great...

and now, how can i control the: "Save In", "File Name", and "Save As

Type" comboboxes...

thanks!



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
excels slows when changing directories ALBERT GOZLAN Excel Discussion (Misc queries) 1 January 9th 08 08:37 AM
Simplify changing directories BobS9895 Excel Worksheet Functions 0 July 18th 06 07:22 PM
sub directories Mike Excel Programming 5 February 6th 04 10:15 PM
Directories Jeff[_24_] Excel Programming 4 January 20th 04 09:26 AM
changing directories Andrea[_7_] Excel Programming 2 November 5th 03 09:22 PM


All times are GMT +1. The time now is 12:41 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"