Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
GetOpenFileName method different in Excel
In Excel 2000, using the GetOpenFileName method you can include a FileFilter
(the first argument) such as *.something.extension and the dialog box would show those files. Starting in Excel XP that does not work in code anymore. You can physically type that into the dialog box under "File name" and it will work but when it is set in code it will only recognize *.extension. Is this a design change or a bug? Sample code: ---------------- FileName = Application.GetOpenFilename("Sample Files (*.test.txt), *.test.txt") ---------------- This will not show a file named First.test.txt in Excel XP/2003 but the same code will show the file in Excel 2000. Ryan |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Please post this thread a correct full method, method about | New Users to Excel | |||
Please post this thread a complete correct method, method about te | New Users to Excel | |||
GetOpenFileName method different in Excel xp/2003 from Excel 2000. | Excel Programming | |||
GetOpenFilename | Excel Programming | |||
How to assign directory for GetOpenFilename method | Excel Programming |