RE: [Harbour] Trouble with ole

2009-09-02 Thread Horodyski Marek (PZUZ)
>-Original Message- >From: Mindaugas Kavaliauskas [mailto:dbto...@dbtopas.lt] >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 := W

Re: [Harbour] Trouble with ole

2009-09-02 Thread Mindaugas Kavaliauskas
Hi, Horodyski Marek (PZUZ) wrote: 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:Active