Opens FrontPage-compatible files into a PageWindow object. These files include file formats such as HTML, .css, or .asp. To open external files for modification with formats such as .gif, .txt, or files without any extensions, use the Open method.
Note HTML files without extensions will not open with the Edit method.
Syntax
expression.Edit([ViewMode As FpPageViewMode = fpPageViewDefault]) As PageWindow
expression An expression that returns a File object.
ViewMode Optional FpPageViewMode. Use to open a file for editing in a specific view mode. Default is fpPageViewDefault. Default for HTML pages is fpPageViewNormal. Default for style sheet pages is fpPageViewHTML.
Return Type
PageWindow
Remarks
FrontPage-based external files can only be edited in a PageWindow object.