COM syntax help
| From: | Ron dot Herhuth at tatumpartners dot com | Date: | Wed, 05 Jan 2005 15:49:31 +0000 |
| Subject: | COM syntax help | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-25236@lists.php.net to get a copy of this message | ||
I am working with MS Word through the COM object. I have figrued out how
to do almost everything I need, but I want to insert a page break. This
is the code that I get from the VB Editor:
Selection.InsertBreak Type:=wdPageBreak
I tried this but it doesnt like it:
$word->Selection->InsertBreak("Type:=wdPageBreak");
What code do I use to make this work in PHP
Thanks a ton!
Ron