When you run the code and it fails, if you press 'Debug', the vb editor opens with the errant line highlighted. On the left, should be a list of 'Projects'. If you cancel the debug mode and click on the Project window, a particular code module should be highlighted. The filename immediately above that is the one for the file containing the macro. That is the file I need.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
|