' Comment this out unless you want the interruption ' Personal Info or Date/Time are not saved in futureĪ = TrueĪ = TrueĪctiveDocument.DocumentInspectors(1).Fix docStatus, resultsĪctiveDocument.DocumentInspectors(3).Fix docStatus, results ' These two lines change document properties so that ' OR be more selective with statements like ' Removes all document metadata and 'extras'Ī (wdRDIAll) ' Turn off Tracking and accept all changes.Ī = False These properties stop Word saving personal info or date/time in the document. It also changes some document properties or options that aren’t available on the ribbon. Unlike the Inspect Document option which doesn’t save at the end. ![]() This custom function ends with a Save command. In fact, a VBA function gives you more options. There’s no direct equivalent of Inspect Document in Word’s VBA but it’s possible to combine commands. Now just click the QAT button and Inspect Document appears.įully Automating Inspect Document with Save Go to Customize Quick Access Toolbar, choose All Commands then scroll down to Inspect Document. ![]() ![]() What if you want it to happen automatically, whenever you save a file or just make it more accessible than clicking around the Backstage pane? Inspect Document on the QATīuried on the long list of Quick Access Toolbar commands is Inspect Document. Normally, you’re expected to manually go to File | Info | Inspect document to check/remove things like comments, hidden text, header, footers or watermarks. Here’s how to save a Word document with the private and hidden details automatically removed.
0 Comments
Leave a Reply. |