![]() |
![]() |
|
|||||||
| Excel Questions All Excel/VBA questions - formulas, macros, pivot tables, general help, etc. Please post to this forum in English only. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Board Regular
Join Date: Feb 2002
Posts: 76
|
Is there a way to open/saveas files, in _VBA_ without specifying the name of the file in the code?
I mean, let the user browse the directories and choose whatever file he wants. The way open would work if you went to FILE|OPEN? Thanks. |
|
|
|
|
|
#2 |
|
MrExcel MVP
Join Date: Feb 2002
Location: Bogota, Colombia
Posts: 11,927
|
|
|
|
|
|
|
#3 |
|
Board Regular
Join Date: Feb 2002
Posts: 76
|
Whooops... Sorry!!
I did do a search to find if my question was answered, but didnt notice that thread! Thanks, John |
|
|
|
|
|
#4 |
|
Board Regular
Join Date: Feb 2002
Posts: 76
|
Follow up question:
Is there a way to specify the path that automatically comes up when you do a "GetOpenFileName"? I've tried application.defaultpath, but that doesnt work. |
|
|
|
|
|
#5 | |
|
MrExcel MVP
Join Date: Feb 2002
Location: Auckland, New Zealand
Posts: 4,209
|
Quote:
ChDir "C:" To change to the dir before calling getopen.. |
|
|
|
|
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|