How to disable "RemoveDocumentInformation"?

Occasional Visitor

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

 

Doug_Robbins_Word_MVP_0-1653518874212.png