Home |
Search |
Today's Posts |
#1
|
|||
|
|||
DOCPROPERTY field : how can I put multiple paragrahs in 1 custom p
Hello,
I have created one custom property and I would like to put in a text with multiple paragraphs to re-use it with DOCPROPERTY field. Example : {DOCPROPERTY myProp} to get : Myprop first paragraph Myprop second paragraph I tried a lot of ways but I couldn't enter more than one paragraph in my custom property : how can I do that ? Thanks for your help |
#2
|
|||
|
|||
Hi ?B?QnJ1bm8gU2FuZ3VpbmVkZQ==?=,
I have created one custom property and I would like to put in a text with multiple paragraphs to re-use it with DOCPROPERTY field. Example : {DOCPROPERTY myProp} to get : Myprop first paragraph Myprop second paragraph I tried a lot of ways but I couldn't enter more than one paragraph in my custom property : how can I do that ? You'd need to use a macro, including a userForm, to enter the information and write it to the document property. But note that you're limited to a maximum of 255 characters. Cindy Meister INTER-Solutions, Switzerland http://homepage.swissonline.ch/cindymeister (last update Jun 8 2004) http://www.word.mvps.org This reply is posted in the Newsgroup; please post any follow question or reply in the newsgroup and not by e-mail :-) |
#3
|
|||
|
|||
Wouldn't an autotext entry/field work better for this? The autotext can be
as long as you wish. -- Graham Mayor - Word MVP My web site www.gmayor.com Word MVP web site http://word.mvps.org Bruno Sanguinede wrote: Hello, I have created one custom property and I would like to put in a text with multiple paragraphs to re-use it with DOCPROPERTY field. Example : {DOCPROPERTY myProp} to get : Myprop first paragraph Myprop second paragraph I tried a lot of ways but I couldn't enter more than one paragraph in my custom property : how can I do that ? Thanks for your help |
#4
|
|||
|
|||
Define the property with a dummy value. Then switch to VBA and in the
Immediate window, type: activedocument.CustomDocumentProperties("myProp") = "Myprop first paragraph" & vbcr & "Myprop second paragraph" "Bruno Sanguinede" Bruno wrote in message ... Hello, I have created one custom property and I would like to put in a text with multiple paragraphs to re-use it with DOCPROPERTY field. Example : {DOCPROPERTY myProp} to get : Myprop first paragraph Myprop second paragraph I tried a lot of ways but I couldn't enter more than one paragraph in my custom property : how can I do that ? Thanks for your help |
Reply |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Insert source texts into multiple files and update automatically | Microsoft Word Help | |||
Help to merge Image (Doug Robins?) | Mailmerge | |||
DDE field doesn't update when printing after applying word 2000 sp3 | Mailmerge | |||
Enter data in 1 text form field & have multiple locations fill | Microsoft Word Help | |||
Text Form Field Ref in Footer Won't Update on Screen | Microsoft Word Help |