Reply
 
Thread Tools Display Modes
  #1   Report Post  
AWordInNeed
 
Posts: n/a
Default How do I replace 1 character with another in field code results?

I have a Word document that has Code39 bar codes on it. These bar codes are
actually mergefields that are formatted to the bar code font. The results for
this field may contain spaces between the strings of text. These spaces do
not automatically translate to a space in the barcode. The spaces must be
replaced with "!" which the bar code will then translate to a space which is
then scannable by our equipment. I cannot insert the "!" into the data source
itself. It must be done when the document is generated. How can I accomplish
this? How do I replace 1 character with another in the field code results?

Please note that I am using Word 2002 on the XP platform.
  #2   Report Post  
Jezebel
 
Posts: n/a
Default

Unlink the fields, then use ordinary Find and Replace.



"AWordInNeed" wrote in message
...
I have a Word document that has Code39 bar codes on it. These bar codes are
actually mergefields that are formatted to the bar code font. The results
for
this field may contain spaces between the strings of text. These spaces do
not automatically translate to a space in the barcode. The spaces must be
replaced with "!" which the bar code will then translate to a space which
is
then scannable by our equipment. I cannot insert the "!" into the data
source
itself. It must be done when the document is generated. How can I
accomplish
this? How do I replace 1 character with another in the field code results?

Please note that I am using Word 2002 on the XP platform.



  #3   Report Post  
Suzanne S. Barnhill
 
Posts: n/a
Default

If this is a mail merge, the "field results" are already plain text (not
fields).

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

"Jezebel" wrote in message
...
Unlink the fields, then use ordinary Find and Replace.



"AWordInNeed" wrote in message
...
I have a Word document that has Code39 bar codes on it. These bar codes

are
actually mergefields that are formatted to the bar code font. The

results
for
this field may contain spaces between the strings of text. These spaces

do
not automatically translate to a space in the barcode. The spaces must

be
replaced with "!" which the bar code will then translate to a space

which
is
then scannable by our equipment. I cannot insert the "!" into the data
source
itself. It must be done when the document is generated. How can I
accomplish
this? How do I replace 1 character with another in the field code

results?

Please note that I am using Word 2002 on the XP platform.




  #4   Report Post  
AWordInNeed
 
Posts: n/a
Default

Thank you for your response. The document is automatically generated by an
inventory tracking system. It is generated using a Word template. During the
course of normal operation many, many such documents are produced. Far too
many to do a Find and Replace on each of them. So I'm trying to resolve this
problem on the template so that the document will be generated with the
corrected bar code. On the template the bar code it is still a field. No text
to find and replace.


"Jezebel" wrote:

Unlink the fields, then use ordinary Find and Replace.



"AWordInNeed" wrote in message
...
I have a Word document that has Code39 bar codes on it. These bar codes are
actually mergefields that are formatted to the bar code font. The results
for
this field may contain spaces between the strings of text. These spaces do
not automatically translate to a space in the barcode. The spaces must be
replaced with "!" which the bar code will then translate to a space which
is
then scannable by our equipment. I cannot insert the "!" into the data
source
itself. It must be done when the document is generated. How can I
accomplish
this? How do I replace 1 character with another in the field code results?

Please note that I am using Word 2002 on the XP platform.




  #5   Report Post  
AWordInNeed
 
Posts: n/a
Default

Thank you for your response.

The document is generated by an inventory tracking system. It is generated
using a Word template. I am trying to apply this solution to the template so
that the document will be generated with the corrected bar code when ever the
system creates it. On the template the bar code it is still a field.

"Suzanne S. Barnhill" wrote:

If this is a mail merge, the "field results" are already plain text (not
fields).

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

"Jezebel" wrote in message
...
Unlink the fields, then use ordinary Find and Replace.



"AWordInNeed" wrote in message
...
I have a Word document that has Code39 bar codes on it. These bar codes

are
actually mergefields that are formatted to the bar code font. The

results
for
this field may contain spaces between the strings of text. These spaces

do
not automatically translate to a space in the barcode. The spaces must

be
replaced with "!" which the bar code will then translate to a space

which
is
then scannable by our equipment. I cannot insert the "!" into the data
source
itself. It must be done when the document is generated. How can I
accomplish
this? How do I replace 1 character with another in the field code

results?

Please note that I am using Word 2002 on the XP platform.





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
Is it possible to use find replace for Merge Field data Chris Mailmerge 1 August 22nd 05 03:58 PM
Is there a way to find and replace a text string with a field nam. Jeff Janoski Microsoft Word Help 2 May 26th 05 05:47 AM
How to replace all instances of a text string with a field referen Robert Kleinschmidt Microsoft Word Help 2 February 16th 05 12:34 AM
replace @ character in word Howzitgoing Microsoft Word Help 4 January 21st 05 10:14 PM
Designating "Any Character" in Replace Dialog Joseph N. Microsoft Word Help 3 December 7th 04 05:36 AM


All times are GMT +1. The time now is 04:27 PM.

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"