Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Problem with MultiSelect when using GetOpenFileName in Excel 2000

Status
Not open for further replies.

SBendBuckeye

Programmer
May 22, 2002
2,166
US
Hello,

I am using the following code in Excel 2000 VBA:

varTemp = Application _
.GetOpenFilename(ovarFileFilters, ovarFileIndex, ovarTitle, ovarMultiSelect)

The MultiSelect option does not work regardless of the setting for ovarMultiSelect. It only allows me to select one file. Has anyone else experienced this problem?

Thanks in advance for any help you can give me!

 
Hi SBB,

You're missing a comma -

Code:
  varTemp = Application _
        .GetOpenFilename(ovarFileFilters, ovarFileIndex, ovarTitle,
Code:
,
Code:
ovarMultiSelect)

Enjoy,
Tony
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top