Application.LoadWebBrowserControlEx method (Project)

Displays HTML pages within Project when the Project Guide is shown or hidden.


expression. LoadWebBrowserControlEx( _TargetPage_, _WrapperPage_, _FunctionalityName_ )

expression A variable that represents an Application object.


Name Required/Optional Data type Description
TargetPage Required String A numeric ID that identifies the HTML target page that needs to be displayed. TargetPage can also be set to a URL, an XML stream, a pointer to an XML file, or any other string value.
WrapperPage Optional Variant A pointer to an HTML page that provides wrapper functionality for the page being displayed in Project. The wrapper page contains event-handling code that allows Project functionality, such as saving files or changing views, to work when a webpage is being displayed. The WrapperPage parameter is used only when the Project Guide is hidden. When the Project Guide is shown, mainpage.htm is used as the wrapper page, and a WrapperPage parameter, if specified, is ignored. If no WrapperPage parameter is specified, Project uses the default wrapper page, gbui://wrapper.htm.
FunctionalityName Optional Variant Name of the Project Guide function in the goal area.

Return value



When the Project Guide is hidden, the method loads the Web Browser Control within Project and issues the LoadWebPage event. When the Project Guide is shown, the method only issues the LoadWebPage event.

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.