ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   GetOpenFilename ERROR (https://www.excelbanter.com/excel-programming/346446-getopenfilename-error.html)

[email protected]

GetOpenFilename ERROR
 
When I run the following code I get an error:

CODE:
fname=Application.GetOpenFilename(filefilter:="TEX T FILES(*.TXT),
*.TXT")

ERROR:
Run-time error '1004'
Method 'GetOpenFilename' of object '_Application' failed


This works on a PC but not on a Mac!!

PLEASE HELP!!!!


Ron de Bruin

GetOpenFilename ERROR
 
Hi

From JE McGimpsey

There are a few minor exceptions (e.g., the GetOpenFileName method's
FileFilter argument has a different syntax between platforms).


See the help

Search Google for
JE McGimpsey and GetOpenFilename for more help

--
Regards Ron de Bruin
http://www.rondebruin.nl


wrote in message ups.com...
When I run the following code I get an error:

CODE:
fname=Application.GetOpenFilename(filefilter:="TEX T FILES(*.TXT),
*.TXT")

ERROR:
Run-time error '1004'
Method 'GetOpenFilename' of object '_Application' failed


This works on a PC but not on a Mac!!

PLEASE HELP!!!!




Darin[_3_]

GetOpenFilename ERROR
 
Could you help me with the syntax. I am a rookie. Where is the help??


Ron de Bruin

GetOpenFilename ERROR
 
I have no Mac

Read the threads from
JE McGimpsey in Google

http://groups.google.com/advanced_gr...%20McGimpse y



--
Regards Ron de Bruin
http://www.rondebruin.nl


"Darin" wrote in message ups.com...
Could you help me with the syntax. I am a rookie. Where is the help??





All times are GMT +1. The time now is 09:30 PM.

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