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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Add data to a csv file that already exists

Status
Not open for further replies.

TimPen

Technical User
Mar 28, 2011
41
ZA
To write to a csv file I use:

intFile = FreeFile
Open "C:\Output.csv" For Output As #intFile

If the file already exists, how do I add to it?
 
changing Output to Append works

Open "C:\Output.csv" For Append As #intFile
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top