Enum DocClassType
What a host's document is, whose code a document module is (MS-VBAL §4.2.1): the class the host has for it, whose members and events the module's object has.
[JsonConverter(typeof(DocClassTypeJsonConverter))]
public enum DocClassType
Fields
AccessForm = 3An Access form (
Access.Form).AccessReport = 4An Access report (
Access.Report).ExcelWorkbook = 1An Excel workbook (
Excel.Workbook):ThisWorkbook.ExcelWorksheet = 2An Excel worksheet (
Excel.Worksheet):Sheet1.Unknown = 0A document of a host RD-VBA does not know.
WordDocument = 5A Word document (
Word.Document):ThisDocument.
Remarks
A project file says it by name ("ExcelWorksheet"), and a number (2) is read the same. A name or a number
this does not have is Unknown: the project still loads, and the module is one RD-VBA does not support.