L
Lesley Regan
After searching, browsing, finding out all kinds of things about autotext, I
cannot tell if I can do what I'm about to ask about.
If somebody could help with syntax or tell me it can't be done, I'll either
start coding or stop trying to find out!
I am running XP.
I have a long paragraph that is supposed to be included in every letter we
create. I'd like to program a search for the paragraph (in documents being
reused) and then either insert the paragraph if it's not found, or not insert
it, if it's already in the document.
It makes sense to have a paragraph available in a globally accessible
template as Autotext with a unique name of 2 or 3 words, like
autoLetterInsert.
OK, now, I found code that allows me to INSERT autotext, and code that lets
me set the value of an autotext entry, and similar code, but can I put
together Find with Autotext.Value? (pseudocode):
Something like:
clearformatting....
..
..
FindText = AutoTextEntries(autoLetterInsert).Value
If somebody could help I'd appreciate it.
Thank you, merci, gratiam tibi,
Regards, Lesley Regan
cannot tell if I can do what I'm about to ask about.
If somebody could help with syntax or tell me it can't be done, I'll either
start coding or stop trying to find out!
I am running XP.
I have a long paragraph that is supposed to be included in every letter we
create. I'd like to program a search for the paragraph (in documents being
reused) and then either insert the paragraph if it's not found, or not insert
it, if it's already in the document.
It makes sense to have a paragraph available in a globally accessible
template as Autotext with a unique name of 2 or 3 words, like
autoLetterInsert.
OK, now, I found code that allows me to INSERT autotext, and code that lets
me set the value of an autotext entry, and similar code, but can I put
together Find with Autotext.Value? (pseudocode):
Something like:
clearformatting....
..
..
FindText = AutoTextEntries(autoLetterInsert).Value
If somebody could help I'd appreciate it.
Thank you, merci, gratiam tibi,
Regards, Lesley Regan