|
-
Jul 25th, 2002, 03:19 PM
#1
Thread Starter
Lively Member
Writing in a text file
Hi all,
I have an excel file and I need to write each line of this file in a text file.
I read the first line and I write it in my text file, like this:
Open c:\test.txt for output as #1
print #1, myline
How can I write the second line of the excel file in the second line of my text file?
Thanks in advance.
-
Jul 25th, 2002, 03:23 PM
#2
-= B u g S l a y e r =-
put the code you have in a loop?
post all of the code you use to read and write if you need more input
-
Jul 25th, 2002, 04:38 PM
#3
Member
Try this
x=myline number
For x=1 to n
Open c:\test.txt for Append as #1
Write #1, myline
next x
Close #1
I hope this help
-
Jul 25th, 2002, 10:08 PM
#4
Member
-
Jul 26th, 2002, 01:58 AM
#5
Thread Starter
Lively Member
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
|
Click Here to Expand Forum to Full Width
|