ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   FileDialog(msoFileDialogOpen) (https://www.excelbanter.com/excel-programming/358906-filedialog-msofiledialogopen.html)

Mitch

FileDialog(msoFileDialogOpen)
 
Should the user's selection of a file in the file dialog open actually open
the selected file or does it just select the file?

With Application.FileDialog(msoFileDialogOpen)
.AllowMultiSelect = False
.Show
End With


Ardus Petus

FileDialog(msoFileDialogOpen)
 
Will just return the filename

HTH
--
AP

"Mitch" a écrit dans le message de
...
Should the user's selection of a file in the file dialog open actually

open
the selected file or does it just select the file?

With Application.FileDialog(msoFileDialogOpen)
.AllowMultiSelect = False
.Show
End With




Doug Glancy

FileDialog(msoFileDialogOpen)
 
Mitch,

Add "Execite" to open it:

With Application.FileDialog(msoFileDialogOpen)
.AllowMultiSelect = False
.Show
.Execute
End With
hth,

Doug

"Mitch" wrote in message
...
Should the user's selection of a file in the file dialog open actually
open
the selected file or does it just select the file?

With Application.FileDialog(msoFileDialogOpen)
.AllowMultiSelect = False
.Show
End With




Bob Phillips[_6_]

FileDialog(msoFileDialogOpen)
 

"Doug Glancy" wrote in message
...

Add "Execite" to open it:


If only ... <g



Doug Glancy

FileDialog(msoFileDialogOpen)
 
Must be my subconscious at work.

Doug


"Bob Phillips" wrote in message
...

"Doug Glancy" wrote in message
...

Add "Execite" to open it:


If only ... <g





Bob Phillips[_6_]

FileDialog(msoFileDialogOpen)
 
LOL!

"Doug Glancy" wrote in message
...
Must be my subconscious at work.

Doug


"Bob Phillips" wrote in message
...

"Doug Glancy" wrote in message
...

Add "Execite" to open it:


If only ... <g








All times are GMT +1. The time now is 11:39 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com