Well, as indicated in that thread, the code is for processing a whole folder of documents containing tables that have the same layout. Don't expect it to work in any other scenario. Besides which, the error you're getting may have more to do with your system than with the code I posted.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
|