If I read this correctly, the sub is searching fro blank, if not found it still wants to do something, hence the error.
Add some error trapping so the sub can be exited if an error was raised.
AndreRet
Senior Poster
3,922 posts since Jan 2008
Reputation Points: 334
Solved Threads: 350