[book]sheet, in quotes when either part needs them, as Excel writes it
before !. Without a sheet, the book alone, as Excel writes it before a
defined name of that workbook: Budget.xlsx in Budget.xlsx!Total.
Declaration
function externalSheetText(book: string, sheet: string): stringParameters
book: stringrequiredThe workbook's file name, such as Budget.xlsx.
sheet: stringrequiredThe sheet name, or "" for the book alone.
Returns
stringThe text to write before !, such as [Budget.xlsx]Q1 or '[Budget 2024.xlsx]Q1'.