modern-xlsx API Reference - v1.3.0
    Preparing search index...

    Interface DefinedNameData

    A named range or defined name in the workbook.

    interface DefinedNameData {
        comment?: string | null;
        customMenu?: string | null;
        description?: string | null;
        function?: boolean;
        functionGroupId?: number | null;
        help?: string | null;
        hidden?: boolean;
        name: string;
        publishToServer?: boolean;
        sheetId: number | null;
        shortcutKey?: string | null;
        statusBar?: string | null;
        value: string;
        vbProcedure?: boolean;
        workbookParameter?: boolean;
        xlm?: boolean;
    }
    Index
    comment?: string | null

    comment attribute.

    customMenu?: string | null

    customMenu attribute.

    description?: string | null

    description attribute.

    function?: boolean

    Whether the name is a function (macro) name.

    functionGroupId?: number | null

    functionGroupId attribute.

    help?: string | null

    help attribute.

    hidden?: boolean

    Whether the name is hidden in the Name Manager.

    name: string

    The defined name (e.g., 'Revenue', '_xlnm.Print_Area').

    publishToServer?: boolean

    Whether the name is published to the server.

    sheetId: number | null

    Zero-based sheet index for sheet-scoped names, or null for workbook-scoped.

    shortcutKey?: string | null

    shortcutKey attribute.

    statusBar?: string | null

    statusBar attribute.

    value: string

    The range reference or formula value (e.g., 'Sheet1!$A$1:$A$10').

    vbProcedure?: boolean

    Whether the name is a Visual Basic procedure.

    workbookParameter?: boolean

    Whether the name is a workbook parameter.

    xlm?: boolean

    Whether the name is an Excel 4.0 macro name.