View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
diacci1st diacci1st is offline
external usenet poster
 
Posts: 15
Default opening a file problem

Hi I need to get the below to work but I can not understand why it does not
work
Could someone help?

Dim FName As Variant
FName = Application.GetOpenFilename("TXT files (*.txt),*.txt,All Files
(*.*),*.*", , , , True)
Open FName For Input As #1


Thank you