How can I find the end of document file in msword macro if I delete or edit the word while processing? The value of eof in word keep on changing wenever i delete or add text on the document.

thanks,
vbk