Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Word / Mailmerge and Fax / August 2006

Tip: Looking for answers? Try searching our database.

How to include quotes inside bookmarks

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Rey - 27 Aug 2006 16:04 GMT
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?
Signature

Rey

Greg Maxey - 27 Aug 2006 16:44 GMT
Try:

{ Set MyText { Quote " This is my name  { Quote 34 Rey 34 }}"}
Signature

Greg Maxey/Word MVP
See:
http://gregmaxey.mvps.org/word_tips.htm
For some helpful tips using Word.

> 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 - 27 Aug 2006 17:23 GMT
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.
Signature

Rey

> Try:
>
[quoted text clipped - 4 lines]
> > 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?
Doug Robbins - Word MVP - 27 Aug 2006 17:32 GMT
Hi Greg,

That would need to be:

{ Set MyText { Quote " This is my name { Quote 34 }Rey{ Quote 34 }" } }

Signature

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

> Try:
>
[quoted text clipped - 4 lines]
>> 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?
Greg Maxey - 27 Aug 2006 23:38 GMT
Doug, either way appears to work equally well for me.

Signature

Greg Maxey/Word MVP
See:
http://gregmaxey.mvps.org/word_tips.htm
For some helpful tips using Word.

> Hi Greg,
>
[quoted text clipped - 17 lines]
>>> 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 - 28 Aug 2006 03:49 GMT
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.
Signature

Rey

> Doug, either way appears to work equally well for me.
>
[quoted text clipped - 19 lines]
> >>> 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?
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.