Word For Mac, How To Hide Preview Text When Printing
Flyster, I appreciate your help working through my problem. Express zip for mac. To review, I selected the controls and made them hidden. I then entered the code to make the hidden controls visible when the form opens. System mechanic for mac free download. The problem is that a hidden control that is made visible doesn't behave like a control that is not hidden.
For example, the hidden date picker, after showing hidden text, is still invisible on the form unless you click on the right spot and the control doesn't work. The rich text controls normally function by selecting them and typing, replacing the entire 'Click here.' I can type into the hidden control, but unless you select the entire 'Click here.'
While different than the standard Mac OS X print dialog, Microsoft Word's print dialog lets you print a lot of information that lies underneath the surface of the text you've typed.
Text, that text remains allong with the new text. Could we start again with all controls visible and add a macro that will make the empty controls invisible when printed? Is that possible? Regards, Tom.
Tom, I didn't forget you. I never really dealt with rich text content controls before and I’m not the greatest at VBA. But, I believe I came up with a macro that will address this issue. It goes through each control and if the text has “Click here to enter”, it will change the font to white.
Here it is: Sub RemoveText() Dim cc As ContentControl For Each cc In ThisDocument.ContentControls If Left(cc.Range.Text, 19) = 'Click here to enter' Then cc.Range.Font.ColorIndex = wdWhite End If Next End Sub Select all Let me know if this helps. I was going to attach the file I have that seems to work, but this site doesn't allow you to attach macro-enable templates. I'll give you the code. You'll have to got to the visual basic editor (alt-f11).
Make sure your template file is highlighted on the left and select Insert - Modules.