CellTextUnitItem

Restituisce l'elemento unità testo della cella da elaborare durante il consolidamento, il calcolo o la traduzione. La funzione può essere utilizzata nei seguenti tipi di regole:

  • Calcolo

  • Traduzione

  • Consolidation

Sintassi

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

Valore restituito

The entry for the specified item.

Esempio

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