minikae
10-24-2003, 04:23 PM
Hi everyone,
I have this code:
$excel = new COM("Excel.Application" ) or Die ("Did not connect" );
$excel->Visible = 1;
$wkbs = $excel->Workbooks->Add();
$sheet =$wkbk->ActiveSheet;
$excel->application->ActiveWorkbook->Close("False" );
unset ($excel);
it runs and an instance of excel.exe is created, but I don't see the app. I thought the visible property showed like it would if you would manually start excel.
I have also tried using:
$excel->application->visible = 1;
No joy still
Please help someone. I am working with PHP4/Apache 1.3 on XP
minikae
:(
I have this code:
$excel = new COM("Excel.Application" ) or Die ("Did not connect" );
$excel->Visible = 1;
$wkbs = $excel->Workbooks->Add();
$sheet =$wkbk->ActiveSheet;
$excel->application->ActiveWorkbook->Close("False" );
unset ($excel);
it runs and an instance of excel.exe is created, but I don't see the app. I thought the visible property showed like it would if you would manually start excel.
I have also tried using:
$excel->application->visible = 1;
No joy still
Please help someone. I am working with PHP4/Apache 1.3 on XP
minikae
:(