Add toolbar to inspector window

  • Thread starter Thread starter Notre Poubelle
  • Start date Start date
N

Notre Poubelle

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!
 
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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top