View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
Les Stout[_2_] Les Stout[_2_] is offline
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 ***