Thanks for your time guys, but I think I've reached a decent solution. I decided to just compare the page number of the current page being analyzed with the last page number and stop when the last page number is greater than the current one (ie. when the search loops back to the top.)
The EOF Function takes a file number as a parameter. I'm not aware of a way to set a file number for the currently open file (EOF seems more geared toward parsing an external data file or something like that.)
Documenation for EOF:
EOF(filenumber)
The required filenumber argument is an...
Hi all,
I'm an experienced programmer, but I'm a complete newbie in the realm of VBA. I've got a problem that I can't seem to answer with my combination of books/google/help files, and I searched here and couldn't find an answer either. I'm writing a macro to parse through an RTF file making...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.