#1
|
|||
|
|||
How can you use the " character for inches in a field code?
I am using the SET function to add a text string, the text is delimited with "text string". The problem I have is that the text string contains a " because it contains a number depicting inches ("); example below:
{ SET PRODUCT_NAME "A350LF2 3" WN 150 RF" \* MERGEFORMAT } When I add this filed code using the REF command it only inserts the text up to the 3 and ignores the rest. Is there a way to make it ignore the " in the middle of the text string. I could simply change the " to inches but I would like to use the standard reference text string. |
#2
|
||||
|
||||
Use a pair of single quotes for the 'in'. You also don't need the \* MERGEFORMAT switch - it serves no purpose in a SET field.
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Field Code for TOC "- Continued" Text | binar | Word | 5 | 02-05-2019 02:25 PM |
VBA Code to search for field codes with certain text before the Field code and to change style | welcometocandyland | Word VBA | 4 | 02-08-2017 06:53 PM |
Error: "Changes made were lost...reconnect with server", when switching "from" field | randhurrle | Outlook | 2 | 02-25-2015 06:51 PM |
How to get "Track Changes" to ignore "Field Code Changed"? | Joey Cheung | Word | 2 | 10-31-2014 07:55 PM |
Character Spacing Conversion to Inches | cheech1981 | Word | 12 | 08-04-2012 07:14 PM |