2010-01-13 4 views

답변

2

에서 좀 걸릴 수 있습니다.

PHPExcel *이 작동하지 않으면 좋은 시작이되어야합니다.


열기

$this->excel = new COM("Excel.sheet") or $this->error("error"); 
$this->workbook = $this->excel->application->Workbooks->Open($path) or $this->error("error"); 

닫기 내가 PHPExcel을 사용한 적이 있지만,이

+0

우수한 솔루션 나쁜 보이지 않는다, 그러나 그것은 중요 *

$this->excel->application->ActiveWorkbook->Close("False"); unset($this->workbook); unset($this->excel); 

이 코드는 Windows에서 호스팅 된 PHP가 필요하다는 점에 유의하십시오. Linux/UNIX (Mac?)에서는 작동하지 않습니다. –

관련 문제