One way to avoid some of these problems is to add "Option Explicit" to the top
of each module.
This will force you to declare all the variables that you use. If it ain't
declared, it ain't compiling!
It may seem like more work, but it'll save a lot of time (1 vs. 1).
And if you declare your variables using specific types/objects, you'll get VBA's
intellisense to pop up--which saves lots of time.
You can even have Excel add "option explicit" to new modules for you:
Inside the VBE, tools|Options|editor tab|check "require variable declaration"
Thanks to all for the help ......... (none as blind as those who type in
code!)