COM syntax help

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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






[Index of Archives]     [PHP Home]     [PHP Users]     [PHP Database Programming]     [PHP Install]     [Kernel Newbies]     [Yosemite Forum]     [PHP Books]

  Powered by Linux