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!

Delete the last row in a txt file

Status
Not open for further replies.

Gti

Programmer
Jul 23, 2001
99
PT
I have a txt file generated by Vba and what i want is delete the last file row.

(e.g
Xxxx.Txt
---------------------------------
ABSFDOGIDFGDFNGDFNGLFDGDFGDF
GDFGDFGDSFGDFGDFGDFGDFGDFGD
FGDGDGD
FGDFGDFGFDG
DFGDFGD
FGDFGDFDFHGH
GFHFG
HFGHFGJJGJGFJGHJGHJ -> Last Row ( DELETE )
---------------------------------
)

Any Help Tkx

;-)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top