how to create ms project .mpp file using Php
Posted: Mon May 11, 2009 6:42 am
Can any one help me in creating an ms project .mpp file using PHP.
as for excel as shown below is there a way to create MS Project file too?
Thanks,
as for excel as shown below is there a way to create MS Project file too?
Code: Select all
<?php
// create an object instance
$excel = new COM("Excel.Application") or die("Project could not be started");
// pop open the Excel application
$excel->Visible = 1;
// turn off alerts
$excel->DisplayAlerts = 0;
// add a workbook
$excel->Workbooks->Add();
// save
$excel->Workbooks[1]->SaveAs("C:\\Inventory1.xls");
// close the application
$excel->Quit();
$excel = null;
?>