View Single Post
 
Old 08-31-2014, 10:45 AM
skyslayer skyslayer is offline Windows 7 64bit Office 2013
Novice
 
Join Date: Aug 2014
Posts: 11
skyslayer is on a distinguished road
Default

Graham
Sorry for the delay

I have used the new code and now I am getting error the Run-time error (6015:
A table in the document has become corrupted) when I run it as a macro, at code
Code:
oTable.Delete
if I place (
Code:
On Error Resume Next
) just before For
Code:
Each oTable In oNewDoc.Tables
it runs through fine and new doc looks good I also had this problem on the Sub I added in my above post do you see any problems with this or have a different solution?

I am attaching a sanitized doc because there is personnel information in the originals I hope you don't mind I run into the same issues on the sanitized doc as well by the way the bookmarks are not in all docs so I can't use this as search string.

Also I can't run your Word_Batch Process Add-in V2.2 it gives compile error (Compile error in hidden module: ModMain.
This error commonly occurs when code is incompatible with the version, platform, or architecture of this application.) I get this in word 2013 and 2010 did I install it incorrectly? I replaced the last one with the new one in the word startup folder as you state in the instructions also used the installer no difference.

Again thank you
Attached Files
File Type: zip CleanDocForReleseV2.zip (50.9 KB, 14 views)
Reply With Quote