atw: Re: hidden text exposed

  • From: Neil Maloney <maloneyn@xxxxxxxxxxx>
  • To: austechwriter@xxxxxxxxxxxxx
  • Date: Wed, 20 Apr 2011 15:27:06 +1000


Using find and replace to remove hidden text will work for 2003, 2007 and 2010, except that if you want to add a building block for it
in 2007 and 2010, after recording the macro, the menu path is "Office Button – Word Options Customize", instead of "Tools – Customize".

(The path for recording the macro
also is different in 2007 and 2010, it's "View – Macros Macros Record Macro").

Once the hidden text is stripped out of a document using find and replace, it doesn't matter what version of Word (or what application, e.g. Outlook, Excel, OpenOffice) is used to open it, the text has been removed, and so the text, she is not there.

If the button is added to a 2003 template and a document is created
in 2007 or 2010 using the 2003 template, the button will appear in the "Add-Ins" tab BUT, CAUTION, Word 2007 or 2010 won't be able to access the macro because it is not stored in a .docm file. The answer to this is not to use in 2007 or 2010 a macro recorded for this purpose in Word 2003 template but instead go through the (rather easy) process in 2007 or 2010 of recording the macro for the find and replace operation, then adding the macro as a building block. What is actually in the VBA code can be entirely ignored.

One of the uses I have for hidden text is to hide content when the client "thinks" it should be removed (to answer the question of why anyone would want to use this feature). When the decision is later reversed, it's very easy to add back in (since it was never removed in the first place). Personal notes about a document I always keep in a separate text (Notepad) file, never in the Word document.

All of the above is on the usual caveat that I'm not running and don't have access to Word 2007 or 2010.

Going back to an earlier discussion, the reason some of us have trouble multitasking is at:


On 20/04/2011 2:31 PM, Terry Dowling wrote:

Neil, will your macro work across versions? As a VBA-illiterate who records macros, I’m sure mine wouldn’t.


************************************************** To view the austechwriter archives, go to To unsubscribe, send a message to austechwriter-request@xxxxxxxxxxxxx with "unsubscribe" in the Subject field (without quotes). To manage your subscription (e.g., set and unset DIGEST and VACATION modes) go to To contact the list administrator, send a message to austechwriter-admins@xxxxxxxxxxxxx **************************************************

Other related posts: