>-----Original Message----- >From: Mindaugas Kavaliauskas [mailto:[email protected]] >Sent: Wednesday, September 02, 2009 3:56 PM >To: Harbour Project Main Developer List. >Subject: Re: [Harbour] Trouble with ole ... >I successfully use code: > oExcel := Win_OleGetActiveObject("Excel.Application") > IF !EMPTY(oExcel); oSheet := oExcel:ActiveSheet() > ENDIF > IF EMPTY(oSheet) .OR. EMPTY(oSheet:Cells(1, 1):Value) > ? "Please, open not empty data file in Excel" > RETURN .F. > ENDIF > ...
Strange, worked. Still do not know what was wrong, but it's important that worked:) Great thanks. Regards, Marek Horodyski _______________________________________________ Harbour mailing list [email protected] http://lists.harbour-project.org/mailman/listinfo/harbour
