Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
How to avoid printing blank/empty "Document Properties"
I have created a Word 2007 Template and uploaded it to SharePoint.
On the front page of my Word template I have added a number of Document Property Quick-Parts. I have one called "Title" and another called "Subtitle". The problem is, is that although all documents have a "Title" not all documents need a "Subtitle"...so when I print the document instead of leaving the "Subtitle" empty (because it doesn't have a subtitle)...it prints "[Subtitle]". How can I only print the "Subtitle" Document Property if it isn't blank? Please help. Lee |
#2
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
How to avoid printing blank/empty "Document Properties"
There is no Subtitle property.
Is the Subject property being used for the Subtitle? If that is the case, you could use the following field construction { IF { DOCPROPERTY Subject } "" "Subtitle { DOCPROPERTY Subject }" "" } You must use Ctrl+F9 to insert each pair of field delimiters { } and you use Alt+F9 to toggle off their display. -- Hope this helps. Please reply to the newsgroup unless you wish to avail yourself of my services on a paid consulting basis. Doug Robbins - Word MVP, originally posted via msnews.microsoft.com "leewilmott" wrote in message ... I have created a Word 2007 Template and uploaded it to SharePoint. On the front page of my Word template I have added a number of Document Property Quick-Parts. I have one called "Title" and another called "Subtitle". The problem is, is that although all documents have a "Title" not all documents need a "Subtitle"...so when I print the document instead of leaving the "Subtitle" empty (because it doesn't have a subtitle)...it prints "[Subtitle]". How can I only print the "Subtitle" Document Property if it isn't blank? Please help. Lee |
#3
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
How to avoid printing blank/empty "Document Properties"
There is no Subtitle property.
Is the Subject property being used for the Subtitle? If that is the case, you could use the following field construction { IF { DOCPROPERTY Subject } "" "Subtitle { DOCPROPERTY Subject }" "" } You must use Ctrl+F9 to insert each pair of field delimiters { } and you use Alt+F9 to toggle off their display. -- Hope this helps. Please reply to the newsgroup unless you wish to avail yourself of my services on a paid consulting basis. Doug Robbins - Word MVP, originally posted via msnews.microsoft.com "leewilmott" wrote in message ... I have created a Word 2007 Template and uploaded it to SharePoint. On the front page of my Word template I have added a number of Document Property Quick-Parts. I have one called "Title" and another called "Subtitle". The problem is, is that although all documents have a "Title" not all documents need a "Subtitle"...so when I print the document instead of leaving the "Subtitle" empty (because it doesn't have a subtitle)...it prints "[Subtitle]". How can I only print the "Subtitle" Document Property if it isn't blank? Please help. Lee |
#4
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
How to avoid printing blank/empty "Document Properties"
Thank you for your reply Doug.
First I must apologise; I think I'm using the wrong terminology. You may have to help me here...They are SharePoint meta-data that can be inserted into Word by pressing "Quick Parts", "Document Property". So, "Subtitle" is a field/metadata that I have created that can be found in my document library. I have tried using the method you have suggested but, unfortunately, it doesn't work. Lee "Doug Robbins - Word MVP" wrote: There is no Subtitle property. Is the Subject property being used for the Subtitle? If that is the case, you could use the following field construction { IF { DOCPROPERTY Subject } "" "Subtitle { DOCPROPERTY Subject }" "" } You must use Ctrl+F9 to insert each pair of field delimiters { } and you use Alt+F9 to toggle off their display. -- Hope this helps. Please reply to the newsgroup unless you wish to avail yourself of my services on a paid consulting basis. Doug Robbins - Word MVP, originally posted via msnews.microsoft.com "leewilmott" wrote in message ... I have created a Word 2007 Template and uploaded it to SharePoint. On the front page of my Word template I have added a number of Document Property Quick-Parts. I have one called "Title" and another called "Subtitle". The problem is, is that although all documents have a "Title" not all documents need a "Subtitle"...so when I print the document instead of leaving the "Subtitle" empty (because it doesn't have a subtitle)...it prints "[Subtitle]". How can I only print the "Subtitle" Document Property if it isn't blank? Please help. Lee |
#5
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
How to avoid printing blank/empty "Document Properties"
If you insert a "Subtitle" into the document and then press Alt+F9, what do
you see. If it is something of the form { DOCPROPERTY } You could use the type of field construction that I suggested, replacing Subject in that construction with whatever it is in the { DOCPROPERTY } field that displays the subtitle. -- Hope this helps. Please reply to the newsgroup unless you wish to avail yourself of my services on a paid consulting basis. Doug Robbins - Word MVP, originally posted via msnews.microsoft.com "leewilmott" wrote in message ... Thank you for your reply Doug. First I must apologise; I think I'm using the wrong terminology. You may have to help me here...They are SharePoint meta-data that can be inserted into Word by pressing "Quick Parts", "Document Property". So, "Subtitle" is a field/metadata that I have created that can be found in my document library. I have tried using the method you have suggested but, unfortunately, it doesn't work. Lee "Doug Robbins - Word MVP" wrote: There is no Subtitle property. Is the Subject property being used for the Subtitle? If that is the case, you could use the following field construction { IF { DOCPROPERTY Subject } "" "Subtitle { DOCPROPERTY Subject }" "" } You must use Ctrl+F9 to insert each pair of field delimiters { } and you use Alt+F9 to toggle off their display. -- Hope this helps. Please reply to the newsgroup unless you wish to avail yourself of my services on a paid consulting basis. Doug Robbins - Word MVP, originally posted via msnews.microsoft.com "leewilmott" wrote in message ... I have created a Word 2007 Template and uploaded it to SharePoint. On the front page of my Word template I have added a number of Document Property Quick-Parts. I have one called "Title" and another called "Subtitle". The problem is, is that although all documents have a "Title" not all documents need a "Subtitle"...so when I print the document instead of leaving the "Subtitle" empty (because it doesn't have a subtitle)...it prints "[Subtitle]". How can I only print the "Subtitle" Document Property if it isn't blank? Please help. Lee |
Reply |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
How do I avoid a blank line if a mail merge field is empty? | Mailmerge | |||
Avoid using "Ctrl+A" and "F9" to refresh Pictures before printing? | Mailmerge | |||
Allow printing in an "hyperlink" or "called" word document | Microsoft Word Help | |||
How do I modify "Start In" in Properties. Using "C:\Docs" fails | Microsoft Word Help | |||
How can I create a "blank-if-empty" numeric input field in Word 20 | Microsoft Word Help |