Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.word.mailmerge.fields
|
|||
|
|||
How to include quotes inside bookmarks
I want to be able to add a quote symbol within a quoted filed code. For
example {Set MyText "This is my name "Rey""} Then later use {Ref MyText} and get This is my name "Rey" I tried {Set MyText "This is my name {SYMBOL 34 \a}Rey{SYMBOL 34 \a}"} but it does not work. Anyone has any idea of how to do this? -- Rey |
#2
Posted to microsoft.public.word.mailmerge.fields
|
|||
|
|||
How to include quotes inside bookmarks
Try:
{ Set MyText { Quote " This is my name { Quote 34 Rey 34 }}"} -- Greg Maxey/Word MVP See: http://gregmaxey.mvps.org/word_tips.htm For some helpful tips using Word. Rey wrote: I want to be able to add a quote symbol within a quoted filed code. For example {Set MyText "This is my name "Rey""} Then later use {Ref MyText} and get This is my name "Rey" I tried {Set MyText "This is my name {SYMBOL 34 \a}Rey{SYMBOL 34 \a}"} but it does not work. Anyone has any idea of how to do this? |
#3
Posted to microsoft.public.word.mailmerge.fields
|
|||
|
|||
How to include quotes inside bookmarks
Thank you very much. It did the trick with a little enhancement on my part to
cover a case I had oversimplified in my question. Here is the more general one. { Set MyText { Quote " This is my name { Quote 34 "Rey Smith" 34 }} whether you like it or not"} Note the quotes in the inner quote to include a whole string with blanks, etc. -- Rey "Greg Maxey" wrote: Try: { Set MyText { Quote " This is my name { Quote 34 Rey 34 }}"} -- Greg Maxey/Word MVP See: http://gregmaxey.mvps.org/word_tips.htm For some helpful tips using Word. Rey wrote: I want to be able to add a quote symbol within a quoted filed code. For example {Set MyText "This is my name "Rey""} Then later use {Ref MyText} and get This is my name "Rey" I tried {Set MyText "This is my name {SYMBOL 34 \a}Rey{SYMBOL 34 \a}"} but it does not work. Anyone has any idea of how to do this? |
#4
Posted to microsoft.public.word.mailmerge.fields
|
|||
|
|||
How to include quotes inside bookmarks
Hi Greg,
That would need to be: { Set MyText { Quote " This is my name { Quote 34 }Rey{ Quote 34 }" } } -- 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 "Greg Maxey" wrote in message ... Try: { Set MyText { Quote " This is my name { Quote 34 Rey 34 }}"} -- Greg Maxey/Word MVP See: http://gregmaxey.mvps.org/word_tips.htm For some helpful tips using Word. Rey wrote: I want to be able to add a quote symbol within a quoted filed code. For example {Set MyText "This is my name "Rey""} Then later use {Ref MyText} and get This is my name "Rey" I tried {Set MyText "This is my name {SYMBOL 34 \a}Rey{SYMBOL 34 \a}"} but it does not work. Anyone has any idea of how to do this? |
#5
Posted to microsoft.public.word.mailmerge.fields
|
|||
|
|||
How to include quotes inside bookmarks
Doug, either way appears to work equally well for me.
-- Greg Maxey/Word MVP See: http://gregmaxey.mvps.org/word_tips.htm For some helpful tips using Word. Doug Robbins - Word MVP wrote: Hi Greg, That would need to be: { Set MyText { Quote " This is my name { Quote 34 }Rey{ Quote 34 }" } } "Greg Maxey" wrote in message ... Try: { Set MyText { Quote " This is my name { Quote 34 Rey 34 }}"} -- Greg Maxey/Word MVP See: http://gregmaxey.mvps.org/word_tips.htm For some helpful tips using Word. Rey wrote: I want to be able to add a quote symbol within a quoted filed code. For example {Set MyText "This is my name "Rey""} Then later use {Ref MyText} and get This is my name "Rey" I tried {Set MyText "This is my name {SYMBOL 34 \a}Rey{SYMBOL 34 \a}"} but it does not work. Anyone has any idea of how to do this? |
#6
Posted to microsoft.public.word.mailmerge.fields
|
|||
|
|||
How to include quotes inside bookmarks
I agree both ways work and so does th ethird one I shared and actually used.
Incidentally, the reason we have these three ways, I think, is that documetation for fieldcode QUOTE is not very good. And that is an understatement. -- Rey "Greg Maxey" wrote: Doug, either way appears to work equally well for me. -- Greg Maxey/Word MVP See: http://gregmaxey.mvps.org/word_tips.htm For some helpful tips using Word. Doug Robbins - Word MVP wrote: Hi Greg, That would need to be: { Set MyText { Quote " This is my name { Quote 34 }Rey{ Quote 34 }" } } "Greg Maxey" wrote in message ... Try: { Set MyText { Quote " This is my name { Quote 34 Rey 34 }}"} -- Greg Maxey/Word MVP See: http://gregmaxey.mvps.org/word_tips.htm For some helpful tips using Word. Rey wrote: I want to be able to add a quote symbol within a quoted filed code. For example {Set MyText "This is my name "Rey""} Then later use {Ref MyText} and get This is my name "Rey" I tried {Set MyText "This is my name {SYMBOL 34 \a}Rey{SYMBOL 34 \a}"} but it does not work. Anyone has any idea of how to do this? |
Reply |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Smart quotes and index codes | Formatting Long Documents | |||
bookmarks shown in doc | Microsoft Word Help | |||
bookmarks in {Include Text} field | Microsoft Word Help | |||
Bookmarks, hyperlinks and 'save as' | Microsoft Word Help | |||
Bookmarks appearing in HTML Format document links | Microsoft Word Help |