View Single Post
  #3   Report Post  
Posted to microsoft.public.word.docmanagement
Gordon Bentley-Mix[_3_] Gordon Bentley-Mix[_3_] is offline
external usenet poster
 
Posts: 8
Default 'Hidden' Text - Word 2007

I have a macro that lives in my Normal template in Word 2003 that looks like
this:

Sub ShowMeEverything()
With ActiveWindow.View
.ShowBookmarks = True
.ShowHiddenText = True
.ShowAll = True
End With
End Sub

I use it because I'm a developer and want to be able to turn these setting
on regardless of their current state. If all you were wanted to do is toggle
the state of hidden text back and forth then something like:

Sub ToggleHiddenText()
ActiveWindow.View.ShowHiddenText = Not
(ActiveWindow.View.ShowHiddenText)
End Sub

would probably work.

I call my macro through a button on a custom toolbar but only because I have
several tools of this type that I use so having them all on a toolbar only
makes sense. However, it's not to difficult to assign a keyboard shortcut.
Post back if you decide this approach is something you want to try and need
some help with working with macros.
--
Cheers!

Gordon Bentley-Mix

"darkblueslider" wrote in message
...

Hi Guys,

Ideally what i'd like to do with MS-Word is something similar to
[spoiler] tags you see on some forums - basically text that is hidden -
but with a 'click to show' link that 'shows it' - is this at all
possible in Word 2007 (or perhaps with some sort of Add-on?) I'm not
too bothered about the printed consequences of this (but it'd be nice
if it allowed me to hide/show it)

If that's not possible - just in terms of standard using Hidden text -
is there a keyboard shortcut to show/hide hidden text? (as opposed to
*-all-* formatting] Or is it possible to assign one? (or Hijack the
existing ctrl+shift+8 so that it only reveals hidden text?)

Thanks in advance for any help/ideas.

Tim

P.S. In case your wondering the primary purpose is for my own revision
notes!




--
darkblueslider