CellTextUnitItem

Gibt das bei der Konsolidierung, Berechnung oder Umrechnung zu verarbeitende Zellentext-Einheitenelement zurück. Diese Funktion kann in den folgenden Regeltypen verwendet werden:

  • Berechnung

  • Umrechnung

  • Konsolidierung

Syntax

HS.OpenCellTextUnit("", "[Default]", "Entity", "Ascending")

Rückgabewert

The entry for the specified item.

Beispiel

Set MyCellTextUnit = HS.OpenCellTextUnit("", "[Default]", "Entity", "Ascending")
NumItems= MyCellTextUnit.GetNumItems
For i = 0 to NumItems - 1
Scenario = MyCellTextUnit.Item(i).Scenario
Year = MyCellTextUnit.Item(i).Year
Period = MyCellTextUnit.Item(i).Period
Entity = MyCellTextUnit.Item(i).Entity
Value = MyCellTextUnit.Item(i).Value
Account = MyCellTextUnit.Item(i).Account
ICP = MyCellTextUnit.Item(i).ICP
Flow = MyCellTextUnit.Item(i)Custom("Flows")
Nature = MyCellTextUnit.Item(i).Custom("Nature")
...
...
...
CellText = MyCellTextUnit.Item(i).CellText
POV = MyCellTextUnit.Item(i).POV
Next