Reply
 
Thread Tools Display Modes
  #1   Report Post  
Robert Kleinschmidt
 
Posts: n/a
Default How to replace all instances of a text string with a field referen

I have a large document that I want to convert to use fields.
For example, I want to replace all instances of COMPANY_NAME in the document
to be Field references of the form { COMPANY_NAME } where the curly-braces
are the special Word Field Delimiters. I've tried use ^19 and ^21 in the
replace dialog as suggested in the online help pages, but this did not work
for me.
  #2   Report Post  
Greg Maxey
 
Posts: n/a
Default

Robert,

Enter the field code in your document, select it, then copy it to the
clipboard.

In the find what field type Company_Name

In the replace with field type ^c (which is the content of the
clipboard.

Replace all.


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

Robert Kleinschmidt wrote:
I have a large document that I want to convert to use fields.
For example, I want to replace all instances of COMPANY_NAME in the
document to be Field references of the form { COMPANY_NAME } where
the curly-braces are the special Word Field Delimiters. I've tried
use ^19 and ^21 in the replace dialog as suggested in the online help
pages, but this did not work for me.



  #3   Report Post  
Jezebel
 
Posts: n/a
Default

However, there is no COMPANY_NAME field. Do you intend a DocProperty?




"Greg Maxey" wrote in message
...
Robert,

Enter the field code in your document, select it, then copy it to the
clipboard.

In the find what field type Company_Name

In the replace with field type ^c (which is the content of the
clipboard.

Replace all.


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

Robert Kleinschmidt wrote:
I have a large document that I want to convert to use fields.
For example, I want to replace all instances of COMPANY_NAME in the
document to be Field references of the form { COMPANY_NAME } where
the curly-braces are the special Word Field Delimiters. I've tried
use ^19 and ^21 in the replace dialog as suggested in the online help
pages, but this did not work for me.





Reply
Thread Tools
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Numbers to appear at the cursor... ~D~ New Users 11 February 1st 05 04:49 AM
Mirror Text Box [email protected] Formatting Long Documents 1 January 24th 05 07:02 PM
change all caps in text to small lettering using find and replace. Jackson State New Users 3 January 13th 05 06:41 AM
How to replace high-lighted text Ron New Users 0 January 10th 05 06:56 PM
Outline Renee Hendershott Page Layout 2 December 25th 04 02:49 PM


All times are GMT +1. The time now is 05:22 AM.

Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 Microsoft Office Word Forum - WordBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Word"