View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
Lynn[_7_] Lynn[_7_] is offline
external usenet poster
 
Posts: 33
Default import text file

hi,
i have a macro as follows

ChDrive "c"
ChDir "c:\Mydata"
fileToOpen = Application.GetOpenFilename(filefilter:="Text Files
(*.txt),*.txt")

how can i use the above to import a text file ?