VisWebPageSettings.OpenBrowser property

Determines whether the webpage opens in the browser after the drawing is exported to a webpage. Read/write.

Syntax

expression.OpenBrowser

expression An expression that returns a VisWebPageSettings object.

Return value

Long

Remarks

OpenBrowser returns non-zero (True) if the webpage opens in the browser after the drawing is exported to a webpage; otherwise, it returns zero (False). The default is True.

Set OpenBrowser to a non-zero value (True) to open a webpage in the browser after the drawing is exported to a webpage; otherwise, set it to zero (False).

The OpenBrowser property corresponds to the Automatically open Web page in browser check box on the General tab of the Save As Web Page dialog box (BackstageButton tab > Save As > Save as type list > Web Page (*.htm;*.html) > Publish).

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.