I try modify opened excel sheet, but this code :

Local oExcel, oAs
if ( oExcel := win_oleCreateObject( "Excel.Application" )) == Nil
   ok( 'Error ...')
   Return
end
cls
* oExcel:WorkBooks:Add() // <-- when I uncommet this line, all is ok
oAS := oExcel:ActiveSheet()
? valtype( oas)
inkey( 0)
return

Is displaed 'U'. This code was work in xHarbour.
How can I catch active sheet ?
My version is : Harbour 2.0.0beta2 (Rev. 11801). MinGW.

Regards,
Marek Horodyski
_______________________________________________
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to