![]() |
If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Search this Thread | Display Modes |
#1
|
|||
|
|||
![]()
I use the following vba-code (in Microsoft Access) for sending mail in
Outlook: Set myOlapp = CreateObject("Outlook.Application") Set myNameSpace = myOlapp.GetNamespace("MAPI") Set myFolder = myNameSpace.GetDefaultFolder(olFolderDrafts) Set myItem = myOlapp.CreateItem(olMailItem) ... Is it possible to choose a 'briefpapier' in the vba-code? I don't know how to translate 'briefpapier' (= dutch) in English. You can activate it in Microsoft Outlook 2003 by choosing Tools, then Options and then the third tab. It is beside of 'Fonts'. It is something like a template you can use for new e-mail: you can choose font and background. |
Ads |
#2
|
|||
|
|||
![]() You can "click" the proper commandbar button by code. The commandbar popup "New e-mail with" has the id=31146. The iterate through its childs and find the letterpaper by its caption. -- Viele Gruesse / Best regards Michael Bauer - MVP Outlook -- www.VBOffice.net -- Am Sat, 25 Nov 2006 18:15:41 +0100 schrieb Hugo Lefebv I use the following vba-code (in Microsoft Access) for sending mail in Outlook: Set myOlapp = CreateObject("Outlook.Application") Set myNameSpace = myOlapp.GetNamespace("MAPI") Set myFolder = myNameSpace.GetDefaultFolder(olFolderDrafts) Set myItem = myOlapp.CreateItem(olMailItem) ... Is it possible to choose a 'briefpapier' in the vba-code? I don't know how to translate 'briefpapier' (= dutch) in English. You can activate it in Microsoft Outlook 2003 by choosing Tools, then Options and then the third tab. It is beside of 'Fonts'. It is something like a template you can use for new e-mail: you can choose font and background. |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
How to recover VBA code? | Vaughan | Outlook and VBA | 1 | August 23rd 06 12:45 PM |
Convert OL VBA - Code into com add-in | Joerg Meier | Add-ins for Outlook | 3 | May 31st 06 07:14 AM |
VBA Code not running until editor is open | gamename | Outlook and VBA | 0 | May 17th 06 06:42 PM |
Using VBA code to automate a process | [email protected] | Outlook and VBA | 7 | April 21st 06 05:26 PM |
VBA Code to check Task Status | [email protected] | Outlook and VBA | 2 | February 3rd 06 07:16 PM |