Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Opening a .txt file in FSO object

Status
Not open for further replies.

muhaidib

Programmer
Sep 27, 2005
82
SA
I am using FileSystemObject to open a .txt file. How can I access required file without using any CommonDialog object.? I want user to browse to the required file without typing path of the file.

fName = "c:\teststd.csv"
Set fs = CreateObject("Scripting.FileSystemObject")
Set f = fs.OpenTextFile(fName)
 
How are ya muhaidib . . .

Perhaps: API: Call the standard Windows File Open/Save dialog box

Calvin.gif
See Ya! . . . . . .
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top