PHP and Excel and COM

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

 



Hi,

I am trying to control Excel with PHP via COM.

I am wondering if there are some resources available with all the keywords (I didn't find anything on the net...).

F.i. : I try to modify the content of a textbox in a worksheet.
In VBA, I have:
 ActiveSheet.Shapes("Shape1").Select
 Selection.Characters.Text = "foo"

If I try it on PHP, I have:
$excel->Workbooks[1]->Worksheets[1]->Shapes["Shape1"]->Characters->Text = "foo";


I get the following error: "Uncaught exception 'com_exception' with message 'Unable to lookup `Characters': Unknown"

Apparently it does not recognize "Characters". What should I use then???

Thanx for your help.
Wongy

_________________________________________________________________
MSN Messenger : discutez en direct avec vos amis ! http://www.msn.fr/msger/default.asp


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux