problem with excel

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View

I looked around here for ole automation with excel, and put this
togther, which give this error:

Parse error: parse error, unexpected T_VARIABLE in C:\Inetpub\wwwroot
\JOTIntranet\Modules\changebrowser\excel2.php on line 14 (14= save

I have tried a number of thigs, but cannot make this work... and not
figure out what it is

$excel = new COM("excel.application") or die("unable to instantiate

//Ignore Alerts
$excel->DisplayAlerts = 0;
//Make Excel Visible
$excel->Visible = 1;
//Create a new workbook
$WB = $excel->Workbooks->Add;



//Clean up and close, quit, release

Re: problem with excel

On Fri, 16 Mar 2007 14:52:49 +0100, Sonnich  =

Quoted text here. Click to load it

And the line with ';'........
-- =

Rik Wasmus

Re: problem with excel

Quoted text here. Click to load it

I am an idiot. It is Friday. Should go home a have a beer.


Site Timeline