Hi,
There is something "special" to consider in the structure of the array, normally I generate the array in this way:
oRs:MoveFirst()
Do While !oRs:Eof()
AAdd( aExcelData, { oRs:Fields( 'numero' ):Value, oRs:Fields( 'nombre' ):Value } )
oRs:MoveNext()
Enddo
if I do:
With Object oExcel:ActiveWorkBook:ActiveSheet
:Range(:Cells(1,1), :Cells(10,2)):Value = aExcelData
Endwith
Excel file is generated but without content (empty)
if I do:
With Object oExcel:ActiveWorkBook:ActiveSheet
:Range(:Cells(1,1), :Cells(10,2)):Value = hb_ValToExp( aExcelData )
Endwith
The Excel file is generated but not a corresponding content in rows and columns
Any other tip?
Regards,
Javier