docx
    Preparing search index...

    Type Alias MacrosOptions

    Options for createMacros.

    type MacrosOptions = {
        classModules?: readonly MacroModule[];
        modules?: readonly MacroModule[];
        thisDocument?: string;
    }
    Index
    classModules?: readonly MacroModule[]

    Class modules, which define classes of objects

    modules?: readonly MacroModule[]

    Modules, with the macros Word lists in its Macros dialog, and the procedures and functions they use

    thisDocument?: string

    The code of the document's own module, ThisDocument in the VBA editor, where the document's events are handled, such as Document_Open when it opens