Skip to content

ReplaceWorkbookReferencesFn

ReplaceWorkbookReferencesFn = (formula, fromWorkbookName, toWorkbookName) => string

Rewrite the given formula, replacing references to a given workbook with a new workbook name.

string

formula to rewrite

string

existing workbook name to match (case-insensitive)

string

new workbook name to replace fromWorkbookName with

string

if formula fails to parse