Edit

Share via


HTMLProject.Open(MsoHTMLProjectOpen) Method

Definition

Opens the specified HTML project or HTML project item in the Microsoft Script Editor in one of the views specified by the optional MsoHTMLProjectOpen constants.

public void Open (Microsoft.Office.Core.MsoHTMLProjectOpen OpenKind = (Microsoft.Office.Core.MsoHTMLProjectOpen) 0);
abstract member Open : Microsoft.Office.Core.MsoHTMLProjectOpen -> unit
Public Sub Open (Optional OpenKind As MsoHTMLProjectOpen = (Microsoft.Office.Core.MsoHTMLProjectOpen) 0)

Parameters

OpenKind
MsoHTMLProjectOpen

Optional MsoHTMLProjectOpen. The view in which the specified project or project item is opened.

Remarks

If one of the constants is not specified, the project item is opened in the default view.

The default view is determined by whether or not the Microsoft Script Editor is open when the Open method is executed. If the Script Editor is not open, the Open method starts the Script Editor in source view. If the Script Editor is already open, the Open method activates the Script Editor and displays the script in the current view.

Applies to