开发者

Open website in Outlook's internal browser via VBA

开发者 https://www.devze.com 2022-12-19 12:59 出处:网络
I\'m looking to open a given webpage via VBA.I can do this using: Set browser = CreateObject(\"Inte开发者_Go百科rnetExplorer.Application\")

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消