cancel
Showing results for 
Search instead for 
Did you mean: 

Word VBO - Save document with Tracked Changes

PavelZuravliov
Level 3
Scenario using Word VBO - Need to open file with Ms Word and change extension to *.doc.
Opening file fine with Open action, and using Save As action. But some files have "Tracked Changes". ​​
Process goes to Warning. On VM can see message - see attachment.
Maybe some have updated SaveAS action to dont show alerts, or proper work around.
Dont really want to spy MS Word to navigate to Review and accept changes.

------------------------------
Pavel Zuravliov
Developer
Europe/Vilnius
------------------------------
2 REPLIES 2

VivekGoel
Level 10
Modify the save as action to incorporate something similar to:

http://vba.relief.jp/word-vba-accept-all-tracked-changes-in-active-docment/

------------------------------
Vivek Goel
RPA Architect
Asia/Singapore
https://www.rpatools.com/
"If you like this post, please press the "Recommend" Button.
------------------------------

Thank you for information. It did work!

Had to add one line -  doc.AcceptAllRevisions (before SafeAs action) 

------------------------------
Pavel Zuravliov
Developer
SwedBank
Europe/Vilnius
------------------------------