View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
Ron de Bruin Ron de Bruin is offline
external usenet poster
 
Posts: 11,123
Default 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!!!!