The next time my code performs a search using the standard Selection object, Word 2002 hangs and causes problems until I reboot the PC. I have experienced similar problems using the range object in other code. Does anyone know why? Is this a bug?

Re: Search using Range fails (Word 2002, VBA)

I copied the Encl function into a module, and performed some tests. Running Encl didn't cause problems with subsequent searches with the Selection object. It didn't matter whether either of the searches found something or not. So I suspect there must be something else the matter with your code.

I don't know if this is still relevant, but if so, you might post a demo document with the code (replace sensitive information by dummy text).