View Single Post
  #6   Report Post  
Greg Maxey
 
Posts: n/a
Default

Or even cleaner with your example:

{ IF "a"="b"{ Quote 34 text1 34 }{ Quote 34 text2 34}}


--
Greg Maxey/Word MVP
A Peer in Peer to Peer Support

Joey wrote:
Thanks to both of you for your responses. Unfortunately, this doesn't
always work. Specifically, it's failing for me if the {symbo} field
is the first or last thing in the result text. Try this:
{ IF "a"="b" "{Symbol 034}text1{Symbol 034}" "{Symbol
034}text2{Symbol 034}" } Yields: text2

Now try this:
{ IF "a"="b" "my{Symbol 034}true{Symbol 034}text" "my{Symbol
034}false{Symbol 034}text" }
Yields: my"false"text

I can only speculate why Word is dropping the quotes in the first
example.
Is this a bug or is there some nuance of this feature that is eluding
me? If all else fails I can continue to use two single quotes.

Again, any help you can provide is greatly appreciated.


"Suzanne S. Barnhill" wrote:

034 will give you straight quotes. If you want the curly ones,
you'll need to use 147 (left) and 148 (right). Alternatively, you
can use two single quotes.

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA
Word MVP FAQ site: http://word.mvps.org
Email cannot be acknowledged; please post all follow-ups to the
newsgroup so all may benefit.

"Greg" wrote in message
ps.com...
Use a nested {Symbol 034} field in each place you want the quote
symbol
to appear. E.g.,


"....{Symbol 034}true{Symbol 034}..."