Hello everybody,
I have some difficulties using the hasTextFrame-property. I want to switch all text fields from one language to another within one presentation. I already found some threads which handle this topic. They all use the .hasTextFrame-property in order to identify whether there is something to switch or not. Now that's what happens when I use it: Imagine you have a presentation that contains just a rectangle without text. If you rightclick the rectangle and choose Format AutoShape from the context menu, the multipage Textfield is disabled. Nevertheless the .hasTextFrame-property of this shape returns msoTrue (=-1) in the directwindow (vba). It dawns to me that every shape that could contain text, delivers true for this property. I would like to distinguish between shapes, where the textfield-multipage is disabled and where it is not. Are there any ideas out there? I am not very used to the PowerPoint object model. Reason for this question is, that my current macro sometimes sets the AutoFit-checkbox for fitting the shape size to the text - which is not what I want to have.
Any help will be appreciated!
P.S. is there any literature known, that handles the PowerPoint object model and vba environment, something like "Professional Excel Development" for Excel?



