add button to the toolbar

N

nguedes

I'd like to add to my outlook toolbar a button to open a specific web
page.
I wrote a vba macro, see the code above, but this open the web page in
a new ie window.
Does anyone know how to open in the same outlook window?
Tia,
Nuno
 
K

Ken Slovak - [MVP - Outlook]

Your message shows no code at all.

If you get ActiveExplorer.CurrentFolder as an Outlook.MAPIFolder then
you can use MAPIFolder.WebViewOn, MAPIFolder.WebViewURL and the hidden
Boolean property (hidden in Outlook 2002 or later)
MAPIFolder.WebViewAllowNavigation to do what you want.
 

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

Top