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

Re: form fields show up in RTF format by Word

Word
Wed Apr 06 19:58:10 CDT 2005

G'day Saskia <Saskia@discussions.microsoft.com>,

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:

>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


Re: form fields show up in RTF format by Saskia

Saskia
Sun Apr 10 12:49:01 CDT 2005

Hi Steve
This works like a charm,
TX
Saskia

"Word Heretic" wrote:

> G'day Saskia <Saskia@discussions.microsoft.com>,
>
> 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:
>
> >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
>
>