Application.LoadWebPaneControl method (Project)
Supports the Web pane that hosts the Task Drivers, Project/Resource Import Wizard, and Deliverables features.
Syntax
expression. LoadWebPaneControl
( _TargetPage_
, _WrapperPage_
)
expression A variable that represents an Application object.
Parameters
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 only used 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's default wrapper page, gbui://wrapper.htm, is used |
Return value
Boolean
Remarks
The LoadWebPaneControl method is similar to the LoadWebBrowserControl method for the Project Guide, except TargetPage is a URL and the method generates an Application.LoadWebPane event. The default WrapperPage is Mainpage_wp.htm.
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.