Forum Discussion

Murmeltier's avatar
Murmeltier
Copper Contributor
May 24, 2022

How to disable "RemoveDocumentInformation"?

I use ActiveDocument.RemoveDocumentInformation (wdRDIDocumentProperties) in VBA to remove personal data. Once activated it kills also any personal data in future in the document. So if I want to get rid of this function I know only how to deactivate it manually but I do not find any VBA command to deactivate it. Can you help my?

1 Reply

  • Murmeltier I don't think that there is anyway to reverse that command.

     

    I thought you may be able to use the following code, but it will not compile as the

    .RemoveDocumentInformation command does not take arguments

     

     

Resources