GetOpenFilename ERROR

D

darin.kelberlau

When I run the following code I get an error:

CODE:
fname=Application.GetOpenFilename(filefilter:="TEXT 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!!!!
 
R

Ron de Bruin

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top