Hi there, I have to frequently remove personal details, such as author info, from documents and I find I'm click-clicking forever to do this and it's time-consuming (approx. 11+ clicks!) - is there a way to create a Quick Access Toolbar shortcut for specifically the 'remove document properties and personal info' option in the trust centre > privacy options settings?
Thx in advance.
Quick Access shortcut for privacy options
-
- 2StarLounger
- Posts: 130
- Joined: 12 Aug 2020, 08:40
-
- Administrator
- Posts: 78658
- Joined: 16 Jan 2010, 00:14
- Status: Microsoft MVP
- Location: Wageningen, The Netherlands
Re: Quick Access shortcut for privacy options
You might create the following macro in your default template Normal.dotm (or in an add-in/global template), and assign it to a Quick Access Toolbar button:
Code: Select all
Sub RemoveInfo()
With ActiveDocument
.RemoveDocumentInformation wdRDIDocumentProperties
.RemoveDocumentInformation wdRDIRemovePersonalInformation
.RemovePersonalInformation = True
End With
End Sub
Best wishes,
Hans
Hans
-
- 5StarLounger
- Posts: 631
- Joined: 10 Jan 2016, 15:56
- Location: Madison, Wisconsin
Re: Quick Access shortcut for privacy options
Note, though, that this will wreak havoc on documents created using those Document Properties to hold information in the document.
This is my page: https://addbalance.com/word/MappedContr ... #PageStart
The alternative, there, would be to use custom mapped content controls, which is always possible. Since those are mapped to data points, though, they can also hold metadata or hidden data.
This is my page: https://addbalance.com/word/MappedContr ... #PageStart
The alternative, there, would be to use custom mapped content controls, which is always possible. Since those are mapped to data points, though, they can also hold metadata or hidden data.
Attorney Charles Kenyon
Templates in Microsoft Word
Modifying the QAT
The Importance of Styles in Microsoft Word
Templates in Microsoft Word
Modifying the QAT
The Importance of Styles in Microsoft Word
-
- 2StarLounger
- Posts: 130
- Joined: 12 Aug 2020, 08:40
Re: Quick Access shortcut for privacy options
Thanks both - I will try it out and see what happens - I think some documents may possibly cause an issue but I'll not know until I try, so thanks meantime. Will update with any results if I can.
Much appreciated.
Much appreciated.