September 2003
Beginner
1080 pages
29h 28m
English
Outlook has a very powerful and complete object model. This enables you to perform many of the tasks you do every day in Outlook from other applications. You can write Microsoft Word macros that send email to colleagues, use Microsoft Access to send status messages from a database, and even use Visual Basic to create custom applications that do all sorts of things such as email inventory reports to managers and sales representatives. For example, the following code creates an Outlook message, enters recipient information, sets a subject and priority, adds an attachment, and sends the email message:
Sub SendEmail() Set objOutlook = CreateObject("Outlook.Application") Set objNS = objOutlook.GetNamespace("MAPI") ...