COM and MS word.
| From: | Dave Lists | Date: | Mon, 12 Sep 2005 23:32:41 +0000 |
| Subject: | COM and MS word. | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-222229@lists.php.net to get a copy of this message | ||
Hi all,
I'm using com to acces MS word and building tables:
$word->Documents-Add(); \\ Gives me a new doc
$word->Selection->InsertAfter("poo, foo, you"); \\ gives me one row
$word->Selection->ConvertToTable(","); \\ converts the table to a row.
What I can't work out is how to change the width on the first column. I've tried various ways to use SetWidth but failed. Any got any experince or examples of how to use word from PHP to generate tables and layout documents?
Dave.