Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 03-27-2014, 04:23 PM
macropod's Avatar
macropod macropod is offline Help: how to replace hidden text with unhidden text when typing over Windows 7 32bit Help: how to replace hidden text with unhidden text when typing over Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 22,526
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
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Help: how to replace hidden text with unhidden text when typing over Macro to find text and replace with form field containing that text iiiiifffff Word VBA 16 06-04-2016 01:47 AM
Help: how to replace hidden text with unhidden text when typing over Hidden style applied over already-hidden text. christie Word 1 08-17-2011 09:10 AM
Help: how to replace hidden text with unhidden text when typing over Typing into text boxes Misha Word 1 07-04-2011 08:08 PM
Deleting text while typing in Word cajun62234 Word 1 04-07-2011 04:40 PM
Help: how to replace hidden text with unhidden text when typing over Word is typing random text fiddle1 Word 1 11-30-2008 10:29 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 12:27 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft