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

How do i delete a line in a text file using VBA

Status
Not open for further replies.

shellj

Technical User
Sep 19, 2002
30
I have created a text file to read values into a userform in Word. These values can be added to or deleted by the user via a userform - i can read the values in no problem but I am unsure as how to to delete a line from the file. I use 'OPEN "filename" for input as #1' to read the file. Any ideas?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top