Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I use the following code to call the Browse Dialog to select a file. Problem
is, the dialog box doesn't show any Excel files. Can you help? With Application.FileDialog(msoFileDialogFolderPicker) .Show MsgBox .SelectedItems(1) End With -- Carlee |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Carlee,
Because you are browsing for a folder, not a file, hence the enum is called "msoFileDialogFolderPicker". See the reply to your later post. NickHK "Carlee" wrote in message ... I use the following code to call the Browse Dialog to select a file. Problem is, the dialog box doesn't show any Excel files. Can you help? With Application.FileDialog(msoFileDialogFolderPicker) .Show MsgBox .SelectedItems(1) End With -- Carlee |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
your code picks for folder name, to select file name use
Application.FileDialog(msoFileDialogOpen) Regards, Shah Shailesh http://in.geocities.com/shahshaileshs/ (Excel Add-ins Page) *** Sent via Developersdex http://www.developersdex.com *** |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
How to permanently change Dialog Caption while in the Dialog | Excel Programming | |||
File Browse Function (Open dialog box for choosing file) | Excel Programming | |||
using Windows API Open Dialog/Browse in VBA - center form in scree | Excel Programming | |||
control of dialog macro dialog box. on open | Excel Programming | |||
Browse Dialog Box in VBA? | Excel Programming |