![]() |
Amazing techniques which will transform your use of PowerPoint presentations. Make your presentation stand out from the crowd! |
|
|||||
Modifying Shapes with vba You can modify shapes in several ways using vba. Examples include changing size, position, visibility and fill. First though you need to reference the shape you need to work with. Often you will see code like this:
This code will work well.... until you add slides or change the order of shapes on a slide. Once this happens the code will fail or do unexpected things as the slide and shape numbers will have changed. Using Names One answer is to use slide names and shape names which are not easily changed. All slides and shapes have default names which can be read with this vba.
Once you have the names you can use:
You can also use vba to rename a shape or slide:
Other Answers To change a shape on the CURRENT slide in slide show view:
To get a reference to the current slide:
You can then use "i" to change shapes on eg the NEXT slide
Don't know how to use vba? See here With an online education, you can take powerpoint lessons and learn english. With online college courses, you can complete a degree program in no time. |
|
|
|||
This website is sponsored by Technology Trish Ltd |
|||||