End of file in document

Motorhead

Registered User.
Local time
Today, 03:49
Joined
Feb 19, 2002
Messages
11
Hello!

I'm making a function in VBA wich search for some words in a document.
I want to do the search operation until the whole document is searched.
something like:
While not wholedocument is searched
searchoperation

Could someone help me with this?
 
How are you opening the document to Search.

If you are using the OPEN function you can use

Do While Not EOF(filenum)
 

Users who are viewing this thread

Back
Top Bottom