extractSheetName: Extracting the sheet name from a formula
Description
Extracts the sheet name from a formula of the form !
Usage
extractSheetName(formula)
Arguments
formula
Formula string of the form !. Note that the validity
of the formula won't be checked.
Value
Returns the name of the sheet referenced in the formula. For quoted sheet names (required if names
contain e.g. whitespaces or exclamation marks (!)) in formulas the function returns the unquoted
name.