Open specific web page from outlook macro

G

Guest

I have coded macro which is attached to a custom button showed on all of my emails

When press this button it resizes the email to half of the screen area

I want the next produre in the macro to open internet explorer and point at specific page

Can this be done

Thanks
 
K

Ken Slovak - [MVP - Outlook]

Dim objIEApp As SHDocVw.InternetExplorer

On Error Resume Next

Set objIEApp = CreateObject("InternetExplorer.Application")

objIEApp.Navigate "Web URL here in normal style"
objIEApp.Visible = True

Set objIEApp = Nothing

You will need a project reference set to Microsoft Internet Controls
(shdocvw.dll).
 

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