#1
|
||||
|
||||
Converting field codes to plain text
Is there a simple way to convert the codes behind a field to plain text?
For example, I'd like to change "Page 1 of 3" to "Page { PAGE } of { NUMPAGES }". I know how to toggle the field codes (S+F9), but if I copy that string, it changes back to the field value. I can copy part of the field. For example, I can copy the part inside the brackets as long as I am careful not grab the brackets. I believe Graham Mayor has a macro that does it, but that's more trouble than its worth for what I need. Thanks |
#2
|
||||
|
||||
Unless you want to copy the individual elements and manually type the braces, you need the macro.
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
#3
|
||||
|
||||
That's too bad.
Thanks PS: The ads are really out of control on this board. Couldn't they find a bigger, more obnoxious font? Maybe make it fire engine red and blinking or insert one between every other line of the post. |
#4
|
||||
|
||||
As for the ads, I have no control over them - I'm an Administrator, but not the site owner. As it's an issue for you, I suggest you edit your profile to remove them:
User Control Panel>Edit Options>Miscellaneous Options>Turn off the advertisement
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
#5
|
||||
|
||||
Thanks for that tip.
|
#6
|
||||
|
||||
With respect to the text from field codes issue, I produced a relatively simple Word add-in that converts the fields to text and vice versa, based largely on some code produced by Paul a while back. You can find that at http://www.gmayor.com/export_field.htm.
Please note also that web sites display advertising as a means of earning a small amount of income, that helps offset the cost of providing often expensive resources, free of charge to the user, that otherwise you might have to pay for.
__________________
Graham Mayor - MS MVP (Word) (2002-2019) Visit my web site for more programming tips and ready made processes www.gmayor.com |
#7
|
||||
|
||||
Quote:
Quote:
PS: For some reason, I got two identical notices of your post. A few boards offer an ad-free option for a subscription fee. I am a paid subscriber on many of those. I hate ads, but I'm also not looking for a free lunch. I think this whole mentality that the Internet should be free is a cancer on society. It's a toxic mantra that has been sold to a gullible, cheapskate populace by clever people on Madison Avenue who do not have my or your best interests at heart. |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Converting plain text to text box/frame | peacespotting | Word | 1 | 08-08-2013 10:39 PM |
Field codes appearing in header/footer/TOC instead of actual text | hgilberg | Word | 2 | 03-16-2012 02:52 PM |
Convert LISTNUM field codes to text | remedios43 | Word | 2 | 07-31-2011 09:21 AM |
Replace all occurrences of one merge field with plain text | blankenthorst | Mail Merge | 5 | 07-01-2011 05:18 AM |
Outlook macro for automatically converting plain text to link? | nrogers64 | Outlook | 1 | 09-17-2010 01:35 AM |