View Single Post
 
Old 03-27-2014, 04:23 PM
macropod's Avatar
macropod macropod is offline Windows 7 32bit Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 21,956
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

The first macrobutton field in the first cell has a macro reference named 'DoFieldClick'. Change this to 'Unhide' and copy that field to all the other cells. Then add the following macro to the document's 'ThisDocument' code module:
Code:
Sub Unhide()
With Selection.Cells(1).Range
  .Font.Hidden = False
  .Fields(1).Code.Text = Replace(.Fields(1).Code.Text, "UnHide", "NoMacro")
End With
End Sub
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote