TOMAR UNA HOJA DEL CUADERNO PARA OPERAR:
Hoja0 = ThisComponent.
Sheets(0)
Hoja1 = ThisComponent.
Sheets(1)
LEER STRING DE UNA CELDA POR VALOR:
MiPalabra = ThisComponent.
Sheets(0).
getCellRangeByName("A1").
getString()
ESCRIBIR STRING EN UNA CELDA POR...
More
TOMAR UNA HOJA DEL CUADERNO PARA OPERAR:
Hoja0 = ThisComponent.
Sheets(0)
Hoja1 = ThisComponent.
Sheets(1)
LEER STRING DE UNA CELDA POR VALOR:
MiPalabra = ThisComponent.
Sheets(0).
getCellRangeByName("A1").
getString()
ESCRIBIR STRING EN UNA CELDA POR VALOR:
ThisComponent.
Sheets(0).
getCellRangeByName("B1").
setString(MiPalabra)
LEER DATOS NUMÉRICOS DE UNA CELDA POR REFERENCIA:
ThisComponent.
Sheets(0).
getCellByPosition(1,i).
Value = Num
ESCRIBIR DATOS NUMÉRICOS DE UNA CELDA POR REFERENCIA:
ThisComponent.
Sheets(0).
getCellByPosition(0,i).
Value = i
REFERENCIA DE LAS COLUMNAS:
Columna A: 0
Columna B: 1
Columna C: 2
.
.
.
REFERENCIA DE LAS FILAS:
Fila 1: 0
Fila 2: 1
Fila 3: 2
.
.
.
CICLO PARA (CICLO FINITO CON N° DE ITERACIONES IGUAL A N-K+1)
For i=INICIO to FIN
------next i
Less