av8tordude
07-24-2011, 06:25 PM
I’m using this code to enter information in a txtfile. All the information is entered on one line. How can I enter information on the second line without reentering the same code?
Open ObscurePath & ObscureFile For Output As #1
Print #1, StartTime; vbTab; systID; vbTab; lbPassWord
Close #1
Once the information is entered on the second line, how do I read the second line. The code I’m using to read the first line is
f = fs.OpenTextFile(ObscurePath & ObscureFile).readall
Split(f, vbTab)(1)
Open ObscurePath & ObscureFile For Output As #1
Print #1, StartTime; vbTab; systID; vbTab; lbPassWord
Close #1
Once the information is entered on the second line, how do I read the second line. The code I’m using to read the first line is
f = fs.OpenTextFile(ObscurePath & ObscureFile).readall
Split(f, vbTab)(1)