Skip to content
Sheetwrite

@sheetwrite/core/external-links

formulaContainsExternalReferencefunction

Report a problem

On this page

Detect formula constructs that would keep an external workbook/data source live.

Declaration

function formulaContainsExternalReference(formula: string): boolean

Parameters

formula: stringrequired

Formula text, with or without the leading =.

Returns

boolean

true when the formula names another workbook or calls a live-data function.