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 / January 2005

Tip: Looking for answers? Try searching our database.

>> Mail message

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Jonathan Parminter - 06 Jan 2005 04:04 GMT
Hi, I have created a word template that is used as an
email template. When used to create a new document the
email address detail section is visible. When creating a
new document using code the email section is not visible.

I have tried the line...

   Set docReminder = Documents.Add( _
           Template:=TEMPLATE_PATH & "Contracter Report
Reminder.dot", _
           DocumentType:=wdNewEmailMessage, _
           Visible:=False)

But the document type wdNewEmailMessage causes a blank
email page. That is the contents of the template are
removed.

How do I show the email address section when creating a
document using code?

Any ideas or suggestions appreciated :-)

Thanks
Jonathan
Jonathan Parminter - 07 Jan 2005 03:58 GMT
Hi, in case you are interested the solution is the line:

ActiveWindow.EnvelopeVisible = True

Thanks
Jonathan

>-----Original Message-----
>Hi, I have created a word template that is used as an
[quoted text clipped - 22 lines]
>Jonathan
>.
 
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.