View Single Post
  #8   Report Post  
Graham Mayor
 
Posts: n/a
Default

And if all else fails save the texts as autotext entries and insert autotext
fields in the conditional statement to place them.

--

Graham Mayor - Word MVP

My web site www.gmayor.com
Word MVP web site http://word.mvps.org




Greg Maxey wrote:
Joey,

Here is an example when the quoted text is first, last, or in the
middle.

{ IF "a"="a"{ Quote 34 True 34 }{ Quote "This is a " 34 false 34 "
statement" }}




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}..."