Welcome to WebmasterWorld Guest from 126.96.36.199
I'm trying to make this work for the last few hours but I can't get it to work ... argh!
I've got a php script which creates ppt presentations. For some of the ppts the text does not fit in the textbox. I would like to use the AutoSizeTextToFitShape feature but it doesn't work. Could someone help me please? This is the last code I tried:
$pres->Slides[$a]->Shapes->Item(2)->TextFrame2->AutoSize = msoAutoSizeTextToFitShape;