-
read/write to textfile
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?
[vba]Open ObscurePath & ObscureFile For Output As #1
Print #1, StartTime; vbTab; systID; vbTab; lbPassWord
Close #1[/vba]
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
[vba]
f = fs.OpenTextFile(ObscurePath & ObscureFile).readall
Split(f, vbTab)(1)
[/vba]
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules