Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default 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!!!!

  #2   Report Post  
Posted to microsoft.public.excel.programming
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!!!!



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default GetOpenFilename ERROR

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

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,123
Default 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??



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
GetOpenFilename - Error Les Stout[_2_] Excel Programming 1 October 14th 05 12:08 AM
GetOpenFileName Tomski[_4_] Excel Programming 3 October 4th 05 03:34 PM
GetOpenFilename Chodu Excel Programming 1 May 17th 04 06:17 PM
GetOpenFilename Greg Bloom Excel Programming 0 February 9th 04 03:32 PM
getopenfilename inquirer Excel Programming 1 December 3rd 03 11:37 AM


All times are GMT +1. The time now is 07:50 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"