PDA

View Full Version : Input 2nd line in text file



av8tordude
12-28-2012, 10:51 AM
I'm usind this code to create a second line, but how can I delete or overwrite the second line in a text file.

Open ObscurePath & ObscureFile2 For Append As #1
Print #1, sysID; vbTab; lbPassWord
Close #1

patel
12-28-2012, 02:05 PM
is the second line the last line ?

Kenneth Hobs
12-28-2012, 02:22 PM
Just overwrite the file without it.