form fields show up in RTF format

S

Saskia

I hope someone has a clue on this one!
I created a form with a VBA macro that automatically does a SaveAs action to
ensure the file is stored using field content to ensure the right file
naming convention. I made it save in RTF format because that way the new
document no longer contains my homemade macro which is needed to be able to
e-mail the documents created this way since firewalls do not like homemade
macros.
Now, to my surprise the RTF files created this way still contain the drop
down option lists from the original form ( I had expected only flat text to
come through when saving as RTF)
Does anyone have a clue why this happens or even better, how to prevent it?
TX
Saskia
 
W

Word Heretic

G'day Saskia <[email protected]>,

ActiveDocument.Content.fields.Unlink

will flatten the whole content range into static text for you. If you
require finer control you will have to hunt down fields of the correct
type and unlink just those.

Steve Hudson - Word Heretic

steve from wordheretic.com (Email replies require payment)
Without prejudice


Saskia reckoned:
 
S

Saskia

Hi Steve
This works like a charm,
TX
Saskia

Word Heretic said:
G'day Saskia <[email protected]>,

ActiveDocument.Content.fields.Unlink

will flatten the whole content range into static text for you. If you
require finer control you will have to hunt down fields of the correct
type and unlink just those.

Steve Hudson - Word Heretic

steve from wordheretic.com (Email replies require payment)
Without prejudice


Saskia reckoned:
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top