Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 07-19-2018, 09:36 AM
steveflooks steveflooks is offline How can you use the " character for inches in a field code? Windows 10 How can you use the " character for inches in a field code? Office 2010 64bit
Novice
How can you use the " character for inches in a field code?
 
Join Date: Jul 2018
Posts: 1
steveflooks is on a distinguished road
Default 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.
Reply With Quote
  #2  
Old 07-19-2018, 02:52 PM
macropod's Avatar
macropod macropod is offline How can you use the " character for inches in a field code? Windows 7 64bit How can you use the " character for inches in a field code? Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 21,963
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

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]
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
How can you use the " character for inches in a field code? Field Code for TOC "- Continued" Text binar Word 5 02-05-2019 02:25 PM
How can you use the " character for inches in a field code? 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 can you use the " character for inches in a field code? 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

Other Forums: Access Forums

All times are GMT -7. The time now is 02:51 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft