View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
Dan R. Dan R. is offline
external usenet poster
 
Posts: 220
Default Opening text files

I have an application that prompts the user to select a text file for
processing which is done by using the 'GetOpenFilename' from the
Microsoft Excel object library. I'm not using Excel in the program
so
I'm assuming this is probably not the best way to do this. Any
suggestions?

inputfile = Application.GetOpenFilename( _
fileFilter:="Text Files (*.txt),*.txt", _
Title:="Select the file")

Thanks,
-- Dan