CellTextUnitItem

Devuelve el elemento de unidad de texto de celda que se va a procesar durante la consolidación, el cálculo o la conversión. Esta función se puede utilizar en estos tipos de reglas:

  • Cálculo

  • Conversión

  • Consolidación

Sintaxis

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

Valor de retorno

The entry for the specified item.

Ejemplo

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