@univerjs/engine-formula v0.5.4


Function: getRangeWithRefsString()

function getRangeWithRefsString(refString, getSheetIdByName): IUnitRangeWithName[]

Defined in: submodules/univer/packages/engine-formula/src/engine/utils/reference.ts:352

implement getSheetIdByName function getSheetIdByName(name: string) { return univerInstanceService.getCurrentUnitForType(UniverInstanceType.UNIVER_SHEET)?.getSheetBySheetName(name)?.getSheetId() || ”; }

Parameters

ParameterType
refStringstring
getSheetIdByName(name) => string

Returns

IUnitRangeWithName[]