LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 396
Default GetOpenFilename - Error

Hi all,
I have tried the code below, but it does not like the second line on the
Filt. If i only use one it runs, but with the other i get a method
failed message? Can somebody tell me what the problem could be please


Filt = "Comma Seperated Files (*.csv), *.csv" & _
"Excel Files (*.xls),*.xls"
Title = "Please select the supplier file to process"
ChDrive "C"
ChDir "C:\Recon\A_BackUpFiles\From_Supplier"

FileName = Application.GetOpenFilename(FileFilter:=Filt,
Title:=Title)



Les Stout

*** Sent via Developersdex http://www.developersdex.com ***
 
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 with F*.txt DRK Excel Programming 6 June 7th 05 12:45 PM
GetOpenFilename Roman Excel Programming 5 February 8th 05 10:20 PM
GetOpenFilename wtpcomplab Excel Programming 4 January 4th 05 06:36 PM
GetOpenFileName bug Chuck Waterfield Excel Programming 5 October 6th 04 04:02 PM
getopenfilename inquirer Excel Programming 1 December 3rd 03 11:37 AM


All times are GMT +1. The time now is 12:04 PM.

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"