question

Rash-2655 avatar image
0 Votes"
Rash-2655 asked $$ANON_USER$$ Deactivated edited

API for Microsoft office word doc log acrivity

1- Is there any API for the log activity of Microsoft office word doc
- by log activity, we mean the change tracking:
- what has been changed, and from by whom
-
- the change could be: add, update, delete
-
- so we search for that, but all we found is: Management Activity API

2- If there is, could you please provide us the resources (webpage, article, GitHub, or whatever could help)

3- If there is not, is it possible to track changes on the office word doc and reflect them into another system

















office-vba-devoffice-word-itpro
· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Change tracking in Word only works if 'Track changes' is switched on. If it isn't, you would need to retain an earlier copy if the document so that you could use Word's Document comparison tool. The document comparison cannot tell you who made the changes or when.
See https://www.msofficeforums.com/133132-post2.html for exporting tracked revisions to an Excel workbook.
See https://www.excelforum.com/word-programming-vba-macros/1314685-need-help-to-browse-by-file-msofiledialogfilepicker-instead-by-folder.html#post5323754 for comparing two documents with a third as the output document

0 Votes 0 ·

1 Answer

erinding-msft avatar image
0 Votes"
erinding-msft answered erinding-msft commented

@Rash-2655

I agree with JohnKorchok that generally tracked changes are stored in the Word document.

As said in the articles provided by him, you may achieve this with VBA code.
It's suggested to add a tag "office-vba-dev" to get related help.


If an Answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

@Rash-2655
How is your issue going now?
I will add a tag "office-vba-dev" for you to get more related help.

0 Votes 0 ·