Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Word / Programming / April 2005

Tip: Looking for answers? Try searching our database.

form fields show up in RTF format

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Saskia - 06 Apr 2005 18:59 GMT
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
Word Heretic - 07 Apr 2005 01:54 GMT
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
[quoted text clipped - 9 lines]
>TX
>Saskia
Saskia - 10 Apr 2005 18:49 GMT
Hi Steve
This works like a charm,
TX
Saskia

> G'day Saskia <Saskia@discussions.microsoft.com>,
>
[quoted text clipped - 24 lines]
> >TX
> >Saskia
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.