PC Review Forums Newsgroups Microsoft Outlook Microsoft Outlook VBA Programming Add toolbar to inspector window

Reply

Add toolbar to inspector window

 
Thread Tools Rate Thread
Old 18-09-2003, 05:27 AM   #1
Notre Poubelle
Guest
 
Posts: n/a
Default Add toolbar to inspector window


Hi,

Is there any way to add a toolbar button to any inspector window,
other than by writing an Outlook COM add in (I know the NewInspector
event could be used if writing an Outlook COM add in ). E.g. any way
do this use a macro?

Thank you!
  Reply With Quote
Old 28-09-2003, 09:16 PM   #2
Sue Mosher [MVP]
Guest
 
Posts: n/a
Default Re: Add toolbar to inspector window

You can also use the Inspectors.NewInspector event in VBA. This is code for the built-in ThisOutlookSession module:

Dim WithEvents colInspectors As Outlook.Inspectors

Private Sub Application_Startup()
Set colInspectors = Application.Inspectors
End Sub

Private Sub colInspectors_NewInspector(ByVal Inspector As Inspector)
' your code goes here
End Sub


--
Sue Mosher, Outlook MVP
Outlook and Exchange solutions at http://www.slipstick.com
Author of
Microsoft Outlook Programming: Jumpstart
for Administrators, Power Users, and Developers
http://www.outlookcode.com/jumpstart.aspx

"Notre Poubelle" <notre_poubelle@yahoo.com> wrote in message news:ae38c758.0309172027.79ada193@posting.google.com...
> Hi,
>
> Is there any way to add a toolbar button to any inspector window,
> other than by writing an Outlook COM add in (I know the NewInspector
> event could be used if writing an Outlook COM add in ). E.g. any way
> do this use a macro?
>
> Thank you!

  Reply With Quote
Reply



Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off