Opens and returns an existing Document from disk.

 public Document Open(System.String fileName)
Public Function Open(ByVal fileName As String) As Document

The complete path and filename of the document to open from disk.

The document that is opened from disk.

Thrown if an error occurs while opening the document.

Though the WordTemplate object currently supports Office Open XML (Word 2007) format files, WordApplication.Open() does not yet support them.

Document doc = app.Open("@C:\sample.doc");
Dim doc As Document = app.Open("C:\sample.doc")