Home |
Search |
Today's Posts |
|
#1
|
|||
|
|||
Replacement / Fields
Can't I use the replacement object to insert a field code instead of text ?
Want' to find a specific phrase and then replace this with a document variable. Know how to replace text and know how to insert a field using vba - but I don't know how to combine these too /Michael V. |
#2
|
|||
|
|||
As far as I know the only way to do this is to copy the field(s) you want
tot he clipboard and specify ^c as the replacement text. There is no way to "encode" a field in the replacement text using e.g. ^19 and ^21 for the start and end field braces. Peter Jamieson "Michael Vardinghus" wrote in message ... Can't I use the replacement object to insert a field code instead of text ? Want' to find a specific phrase and then replace this with a document variable. Know how to replace text and know how to insert a field using vba - but I don't know how to combine these too /Michael V. |
#3
|
|||
|
|||
Sorry for the double post and thanx for the answer
In the mean time I found a link on the internet confirming your conclusion. Now I'm trying to figure out how to put something into the clipboard automatically.... "Peter Jamieson" wrote in message ... As far as I know the only way to do this is to copy the field(s) you want tot he clipboard and specify ^c as the replacement text. There is no way to "encode" a field in the replacement text using e.g. ^19 and ^21 for the start and end field braces. Peter Jamieson "Michael Vardinghus" wrote in message ... Can't I use the replacement object to insert a field code instead of text ? Want' to find a specific phrase and then replace this with a document variable. Know how to replace text and know how to insert a field using vba - but I don't know how to combine these too /Michael V. |
Reply |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
ASK and FILLIN fields in INCLUDETEXT documents do not merge correc | Mailmerge | |||
Having multiple form fields automatically updated | Microsoft Word Help | |||
Custom Fields in Word 2002 (XP) | Microsoft Word Help | |||
Attempting to auto-update fields in a word document | Microsoft Word Help | |||
Using MAILMERGE fields within HYPERLINK fields for Merge to Email | Mailmerge |