The WebBrowser control mask usually docked toolbars before displaying an Office document. You can use Automation to display a floating toolbar with a code like this :
Code:
With oDocument.Application.CommandBars("Standard")
.Position = 4 '[msoBarFloating]
.Visible = True
End With
Newer versions of Internet Explorer (5.0 and later) also allow you to display docked toolbars using the following code :
Code:
' This is a toggle option, so call it once to show the
' toolbars and once to hide them. This works with Internet Explorer 5
' but often fails to work properly with earlier versions...
WebBrowser1.ExecWB OLECMDID_HIDETOOLBARS, OLECMDEXECOPT_DONTPROMPTUSER
Bookmarks