I am a newbie to VBA for Word. I am writing a script that parses info into a text file. The source file is a .doc file which after parsed is stored in a txt file. I keep getting this run time error 62: input past end of file.
Here is the part of the code where the error occurs.
Do While Not EOF(FF) And Not (lAuthor = 1) Or (lLocation = 1) Or (lBody = 1)
Line Input #FF, sCurrentLine
The complete code is at:
Here is the part of the code where the error occurs.
Do While Not EOF(FF) And Not (lAuthor = 1) Or (lLocation = 1) Or (lBody = 1)
Line Input #FF, sCurrentLine
The complete code is at: