Creates and loads a new empty workbook.
true, if the document is created successfully; otherwise, false.
If the WorkbookEventOptions.RaiseOnModificationsViaAPI property is set to true and the document has unsaved changes (the Workbook.Modified property is true), using the CreateNewDocument method will raise the Workbook.DocumentClosing event.
By handling the Workbook.DocumentClosing event, you can set e.Cancel to true to prevent a document from closing. In this case, the CreateNewDocument method will return false.
If the new document was created and successfully loaded, the CreateNewDocument method returns true.