|
Home
|
VBA Section |
General Section |
Downloads |
Licensing |
Privacy Policy
|
|
Determine the shape type contained in a placeholder In previous version you would rely on various hacks to figure out what was the type of shape that the placeholder was containing. Especially when you want to determine whether the shape contained a table, chart, diagram etc. Various properties were introduced like HasChart, HasTable etc to mitigate this issue. In PPT 2007 this is a cake walk, thanks to a new property which returns the exact shape type contained in the placeholder. To try this example: 1. Create slide with the title and content layout. 2. Run the macro. 3. Add a SmartArt within the content placeholder and run the macro again.
| ||||||||
Copyright © 1999-2009 Shyam Pillai. All rights reserved.
|