SheetXL - v1.0.2
    Preparing search index...

    Interface ICustomProperty

    A property a user or an application added to the workbook: a name and a value. Saved with the workbook; it affects nothing else.

    Shaped after Office Scripts' CustomProperty.

    interface ICustomProperty {
        delete(): void;
        getKey(): string;
        getLinkTarget(): string | null;
        getType(): ICustomProperty.Type;
        getValue(): string | number | boolean | Date;
        setValue(value: string | number | boolean | Date): void;
        toJSON(): ICustomProperty.JSON;
    }
    Index
    • Removes the property from the workbook.

      Returns void

    • The property's name. Unique within the workbook, ignoring case.

      Returns string

    • The defined name the value is linked to ("Link to content"), or null when it is not linked.

      Returns string | null

      VBA's DocumentProperty.LinkSource. Carried from the file: SheetXL does not refresh the value from the name, and setValue keeps the link.

    • The property's value. A ICustomProperty.Type.Date property returns a Date.

      Returns string | number | boolean | Date