Re: MS Word COM Object formatting
| From: | Chris Kranz | Date: | Fri, 22 Aug 2003 13:06:56 +0000 |
| Subject: | Re: MS Word COM Object formatting | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-21215@lists.php.net to get a copy of this message | ||
you should be able to ... in word ... open up the html page from word
itself, and then save it as a word doc... thinking in my head, soemthing
along the lines of...
$file="bios.html"
$word=new COM("Word.Application") or die("Cannot start word for you");
$word->visible =0 ;
$word->Documents->Open($file);
$word->Documents[1]->SaveAs("testwrite.doc");
$word->Quit();
in theory, should work... although i could be wrong...