Open website in Outlook's internal browser via VBA
I'm looking to open a given webpage via VBA. I can do this using:
Set browser = CreateObject("Inte开发者_Go百科rnetExplorer.Application")
browser.Navigate ("http://google.com")
but this opens an instance of IE. I'd like to open it in Outlooks integrated browser window.
I'd presume this is fairly easy, but I'm not familiar with VBA and googling has not turned up anything useful.
What version of out are you using ? older version did have a browse toolbar.
and you can use the technique above to hook the commandbars you can do this in VBA marco as well, you dont actualy need a addin.
You can also do it via the Folder Home Page Feature as folders can show a web page instead of the normal folder contents. (right click propteries > home page tab)
You can set this via the OOM:
Set the Folder.WebViewURL Property to your URL and set the Folder.WebViewOn Property to True
You can do this on th currently selected folder from the Active Explorer but remember to set it back afterward.
精彩评论