![]() |
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
|
|||
|
|||
![]()
Hi there,
ok, I'm working with Outlook 2003 SP2 and I'd like to add a custom button to every existing an new mail item. As far as I know here I have to deal with the ActiveInspector? But basicly I'm searching for a sample vba code for Outlook that shows me how to do? Cheers, Claus Schiroky |
Ads |
#2
|
|||
|
|||
![]()
Am Tue, 9 May 2006 22:56:31 +0200 schrieb Claus Schiroky:
Claus, this sample shows how to add a bar with one button to an Explorer. http://www.vboffice.net/sample.html?...6&cmd=showitem Instead of calling the CreateCommandBarButton function from within Application_Startup you need to call it from the NewInspector event. In that event check if Inspector.CurrentItem is a MailItem and then call CreateCommandBarButton Inspector.CommandBars -- Viele Gruesse / Best regards Michael Bauer - MVP Outlook -- www.vbOffice.net -- Hi there, ok, I'm working with Outlook 2003 SP2 and I'd like to add a custom button to every existing an new mail item. As far as I know here I have to deal with the ActiveInspector? But basicly I'm searching for a sample vba code for Outlook that shows me how to do? Cheers, Claus Schiroky |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Forms Newbie Needs Help | [email protected] | Outlook - Using Forms | 3 | May 9th 06 07:28 PM |
Outlook commandbars | Radiohead | Add-ins for Outlook | 1 | January 25th 06 02:35 PM |
how to use the CommandBars Collection | Jim B | Outlook - Using Forms | 0 | January 22nd 06 12:46 AM |
Newbie question regarding corespondance | Raffi Bearmant | Outlook - General Queries | 1 | January 11th 06 10:37 AM |
Newbie needs help | Alan Hurley | Outlook - General Queries | 2 | January 10th 06 10:07 AM |