Home |
Search |
Today's Posts |
#1
![]() |
|||
|
|||
![]()
Good morning.
I am using an Access VBA module to control Excel and I need to figure out code that can simply change current directory to a set directory and then show Excel's "Open" Diaglogue box. I am aware that I can use an open command to open a certain file, but I don't want to do that. I want dialogue box and not specify a file. Any suggestions? Thanks Cordially, |
#2
![]() |
|||
|
|||
![]()
hi,
i think it is: Application.Dialogs(xlDialogOpen).Show -----Original Message----- Good morning. I am using an Access VBA module to control Excel and I need to figure out code that can simply change current directory to a set directory and then show Excel's "Open" Diaglogue box. I am aware that I can use an open command to open a certain file, but I don't want to do that. I want dialogue box and not specify a file. Any suggestions? Thanks Cordially, . |
#3
![]() |
|||
|
|||
![]()
Hi,
chDir "c:\Here\Mummy" application.dialogs("Open").show workbooks.open Filename Filename is the filename Something like this. You have to specify the filename property then If you are game, you can steal my code from one of my utilities: EasyText_Rev1.xls at: http://www.geocities.com/excelmarksway The code is not password protected but you will have to modify it to suit your needs. - mark -----Original Message----- Good morning. I am using an Access VBA module to control Excel and I need to figure out code that can simply change current directory to a set directory and then show Excel's "Open" Diaglogue box. I am aware that I can use an open command to open a certain file, but I don't want to do that. I want dialogue box and not specify a file. Any suggestions? Thanks Cordially, . |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Help with Amending this Code Please | Excel Worksheet Functions | |||
Trim function doesn't clean out ASCII Code 160 (Space) | Excel Worksheet Functions | |||
Command Button VBA code | Excel Discussion (Misc queries) | |||
Often-Used Code not working in a new Workbook | Excel Discussion (Misc queries) | |||
Zip Code Macro | Excel Worksheet Functions |