cancel
Showing results for 
Search instead for 
Did you mean: 

Compare Two MS Word Documents

vinodchinthakin
Level 9
HI,

I can see an option in MS word where we can compare two versions of document(legal blackline)
May I know is there any way to be achieved through Bot without spying or using macros.
Do we have any code or VBO for this?


------------------------------
vinod chinthakindi
------------------------------
2 REPLIES 2

John__Carter
Staff
Staff
The standard Word VBO from BP has very limited capability and doesn't have the functionality you're looking for. But if the compare function can be executed by a Word macro, then it'll be possible to create the equivalent calls using .Net in a VBO code stage. Maybe somebody in the Community has already done this and is willing to share, but if not, then I'd recommend as a first step to manually record a macro and then study the resulting code. A quick Google suggests a couple of methods:

https://docs.microsoft.com/en-us/office/vba/api/word.application.comparedocuments
https://docs.microsoft.com/en-us/office/vba/api/word.document.compare


------------------------------
John Carter
Professional Services
Blue Prism
------------------------------

ewilson
Staff
Staff
FYI - I've added this as an enhancement request for the Word VBO to our backlog.

Cheers,


------------------------------
Eric Wilson
Director, Integrations and Enablement
Blue Prism Digital Exchange
------------------------------