Reply
 
Thread Tools Display Modes
  #1   Report Post  
Posted to microsoft.public.word.docmanagement
Bart Bart is offline
external usenet poster
 
Posts: 6
Default Having Word Print Blanks

I teach school and I would like to be able to have a document where I can
have the answers to questions show up on the screen but be blank when I print
them out. Is there anyway I can make word leave things blank only when I
print them?
  #2   Report Post  
Posted to microsoft.public.word.docmanagement
Tom Willett[_2_] Tom Willett[_2_] is offline
external usenet poster
 
Posts: 372
Default Having Word Print Blanks

Have the background of your document black, and make the text white, then
don't let it print the background.

"Bart" wrote in message
...
:I teach school and I would like to be able to have a document where I can
: have the answers to questions show up on the screen but be blank when I
print
: them out. Is there anyway I can make word leave things blank only when I
: print them?


  #3   Report Post  
Posted to microsoft.public.word.docmanagement
Tom Willett[_2_] Tom Willett[_2_] is offline
external usenet poster
 
Posts: 372
Default Having Word Print Blanks

Have the background of your document black, and make the text white, then
don't let it print the background.

"Bart" wrote in message
...
:I teach school and I would like to be able to have a document where I can
: have the answers to questions show up on the screen but be blank when I
print
: them out. Is there anyway I can make word leave things blank only when I
: print them?


  #4   Report Post  
Posted to microsoft.public.word.docmanagement
Suzanne S. Barnhill Suzanne S. Barnhill is offline
external usenet poster
 
Posts: 33,624
Default Having Word Print Blanks

Sort of. Make sure that "Hidden text" is not checked on the Print tab of
Tools | Options but *is* checked on the View tab. Put the answers in a table
cell with the height specified as what Exact amount is required to contain
the text. Format the answer text (or, better, the style used for the
answers) as Hidden.

Another approach is to use a distinctive style for the answers and have a
print macro that modifies the font color of this style to white, prints the
document, and then changes the font color back to Automatic.

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA
http://word.mvps.org

"Bart" wrote in message
...
I teach school and I would like to be able to have a document where I can
have the answers to questions show up on the screen but be blank when I
print
them out. Is there anyway I can make word leave things blank only when I
print them?


  #5   Report Post  
Posted to microsoft.public.word.docmanagement
Suzanne S. Barnhill Suzanne S. Barnhill is offline
external usenet poster
 
Posts: 33,624
Default Having Word Print Blanks

Sort of. Make sure that "Hidden text" is not checked on the Print tab of
Tools | Options but *is* checked on the View tab. Put the answers in a table
cell with the height specified as what Exact amount is required to contain
the text. Format the answer text (or, better, the style used for the
answers) as Hidden.

Another approach is to use a distinctive style for the answers and have a
print macro that modifies the font color of this style to white, prints the
document, and then changes the font color back to Automatic.

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA
http://word.mvps.org

"Bart" wrote in message
...
I teach school and I would like to be able to have a document where I can
have the answers to questions show up on the screen but be blank when I
print
them out. Is there anyway I can make word leave things blank only when I
print them?




  #6   Report Post  
Posted to microsoft.public.word.docmanagement
Graham Mayor Graham Mayor is offline
external usenet poster
 
Posts: 19,312
Default Having Word Print Blanks

Create a new character style - let's call it 'Answers' - based on the
undelying style and apply it to the answers.You can then use the following
macro to toggle the display of the answers. If you print the document while
the answers are not displayed, the answers will not be printed.

Sub HideAnswers()
Dim bSHidden As Boolean
Dim bPHidden As Boolean
bSHidden = ActiveWindow.View.ShowHiddenText
bPHidden = Options.PrintHiddenText
With ActiveDocument.Styles("Answers").Font
.Hidden = Not .Hidden
If .Hidden = True Then
ActiveWindow.View.ShowHiddenText = False
Options.PrintHiddenText = False
Else
ActiveWindow.View.ShowHiddenText = bSHidden
Options.PrintHiddenText = bPHidden
End If
End With
End Sub

http://www.gmayor.com/installing_macro.htm


--

Graham Mayor - Word MVP

My web site www.gmayor.com
Word MVP web site http://word.mvps.org



"Bart" wrote in message
...
I teach school and I would like to be able to have a document where I can
have the answers to questions show up on the screen but be blank when I
print
them out. Is there anyway I can make word leave things blank only when I
print them?



  #7   Report Post  
Posted to microsoft.public.word.docmanagement
Graham Mayor Graham Mayor is offline
external usenet poster
 
Posts: 19,312
Default Having Word Print Blanks


Create a new character style - let's call it 'Answers' - based on the
undelying style and apply it to the answers.You can then use the following
macro to toggle the display of the answers. If you print the document while
the answers are not displayed, the answers will not be printed.

Sub HideAnswers()
Dim bSHidden As Boolean
Dim bPHidden As Boolean
bSHidden = ActiveWindow.View.ShowHiddenText
bPHidden = Options.PrintHiddenText
With ActiveDocument.Styles("Answers").Font
.Hidden = Not .Hidden
If .Hidden = True Then
ActiveWindow.View.ShowHiddenText = False
Options.PrintHiddenText = False
Else
ActiveWindow.View.ShowHiddenText = bSHidden
Options.PrintHiddenText = bPHidden
End If
End With
End Sub

http://www.gmayor.com/installing_macro.htm


--

Graham Mayor - Word MVP

My web site www.gmayor.com
Word MVP web site http://word.mvps.org



"Bart" wrote in message
...
I teach school and I would like to be able to have a document where I can
have the answers to questions show up on the screen but be blank when I
print
them out. Is there anyway I can make word leave things blank only when I
print them?



  #8   Report Post  
Posted to microsoft.public.word.docmanagement
Graham Mayor Graham Mayor is offline
external usenet poster
 
Posts: 19,312
Default Having Word Print Blanks

If you would prefer to retain the space that the answers occupied and the
answers are not in a table, then the following would work instead

Sub HideAnswers()
If ActiveDocument.Styles("Answers").Font.Color = wdColorAuto Then
ActiveDocument.Styles("Answers").Font.Color = wdColorWhite
Else
ActiveDocument.Styles("Answers").Font.Color = wdColorAuto
End If
End Sub

--

Graham Mayor - Word MVP

My web site www.gmayor.com
Word MVP web site http://word.mvps.org



"Bart" wrote in message
...
I teach school and I would like to be able to have a document where I can
have the answers to questions show up on the screen but be blank when I
print
them out. Is there anyway I can make word leave things blank only when I
print them?



  #9   Report Post  
Posted to microsoft.public.word.docmanagement
Graham Mayor Graham Mayor is offline
external usenet poster
 
Posts: 19,312
Default Having Word Print Blanks

If you would prefer to retain the space that the answers occupied and the
answers are not in a table, then the following would work instead

Sub HideAnswers()
If ActiveDocument.Styles("Answers").Font.Color = wdColorAuto Then
ActiveDocument.Styles("Answers").Font.Color = wdColorWhite
Else
ActiveDocument.Styles("Answers").Font.Color = wdColorAuto
End If
End Sub

--

Graham Mayor - Word MVP

My web site www.gmayor.com
Word MVP web site http://word.mvps.org



"Bart" wrote in message
...
I teach school and I would like to be able to have a document where I can
have the answers to questions show up on the screen but be blank when I
print
them out. Is there anyway I can make word leave things blank only when I
print them?



Reply
Thread Tools
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Print Recordset Leave Blanks Ripper Mailmerge 2 February 27th 08 07:54 PM
I CANNOT PRINT ANY NEWLY CREATED WOR/ EXCEL DOCS, BLANKS COMING OU sheila need word print help[_2_] Microsoft Word Help 9 July 14th 07 01:00 PM
Word document fill-in-the-blanks texansgal Microsoft Word Help 4 September 25th 06 09:30 PM
In word, How to set up merge where you hit tab to fill in blanks? Stumped at work Mailmerge 1 May 24th 06 08:57 PM
Filling in blanks in a Word Document Confused Microsoft Word Help 4 February 3rd 06 06:54 AM


All times are GMT +1. The time now is 05:41 PM.

Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 Microsoft Office Word Forum - WordBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Word"