CellTextUnitItem
Returns the cell text unit item to process during consolidation, calculation, or translation. This function can be used in these types of rules:
-
Calculation
-
Translation
-
Consolidation
Syntax
HS.OpenCellTextUnit("", "[Default]", "Entity", "Ascending")Return Value
The entry for the specified item.Example
Set MyCellTextUnit = HS.OpenCellTextUnit("", "[Default]", "Entity", "Ascending")NumItems= MyCellTextUnit.GetNumItemsFor i = 0 to NumItems - 1Scenario = MyCellTextUnit.Item(i).ScenarioYear = MyCellTextUnit.Item(i).YearPeriod = MyCellTextUnit.Item(i).PeriodEntity = MyCellTextUnit.Item(i).EntityValue = MyCellTextUnit.Item(i).ValueAccount = MyCellTextUnit.Item(i).AccountICP = MyCellTextUnit.Item(i).ICPFlow = MyCellTextUnit.Item(i)Custom("Flows")Nature = MyCellTextUnit.Item(i).Custom("Nature").........CellText = MyCellTextUnit.Item(i).CellTextPOV = MyCellTextUnit.Item(i).POVNext