I am trying to cobble together a macro to replace our revision table template on existing drawings and then reenter the old revision information. The problem arises when the macro reaches the point of editing the cells in the freshly inserted table. In the attached macro 'replaceRevisionTableTest' it appears to edit the cells in the table with the new data but once ForceRebuild3 is called the edits vanish. If I then run the attached macro 'onlyModifyRevTable' with nearly identical code it successfully edits the revision table. What is causing this behavior? Why would splitting the code in two different macros make a difference?
I have tried doing a force rebuild & saving the drawing file after each revision addition but that did not solve the problem. Thank you!