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 / Outlook / Programming VBA / July 2006

Tip: Looking for answers? Try searching our database.

VBA code to populate an email header and footer

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
marie - 28 Jul 2006 00:55 GMT
using VBA I need to take info. from a new email and before a user sends
the email, I need to write data to the headers and footers. Just to be
clear, I've seen a lot of postings about setting internet headers and
mail headers using CDO but I'm actually talking about the
headers/footers that you see when you go into print preview and page
setup.

I'm brand new to Outlook but I've been doing some vba scripting with
the mailitem object and have been successful, but I just can't figure
out how to populate an email page header and footer.  Any help would be
appreciated.

Thanks in advance!
Sue Mosher [MVP-Outlook] - 28 Jul 2006 03:21 GMT
Email messages don't have headers and footers. That's a feature of documents, like those in Word.

Signature

Sue Mosher, Outlook MVP
  Author of Configuring Microsoft Outlook 2003
    http://www.turtleflock.com/olconfig/index.htm
  and Microsoft Outlook Programming - Jumpstart for
    Administrators, Power Users, and Developers
    http://www.outlookcode.com/jumpstart.aspx
 

> using VBA I need to take info. from a new email and before a user sends
> the email, I need to write data to the headers and footers. Just to be
[quoted text clipped - 9 lines]
>
> Thanks in advance!
 
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



©2010 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.