Tom's Guide | Tom's Hardware | Tom's Games
![]() |
![]() |
![]() |
Hello, I need your support.
I have to read a text file two times. Is there a command that return at the begin of text file to re-read every line?Thank's

The easiest way I can think of to tell it to read it twice is to put it in a For Next Loop.
For i = 0 to 1
CreateObject("Scripting.FileSystemObject").OpenTextFile("TEXT.TXT").ReadAll
Next

![]() |
![]() |
![]() |
| Login or Register to Reply | |
| Login | Register |
| Ads by Google |