Table of Contents
This simple yet powerful VBscript method can be used to progamatically change layout and content of slides. Do give it a try. I have put comments in code for easy undestanding
Use the README.md
to get started.
This section should list any major frameworks/libraries used to bootstrap your project. Leave any add-ons/plugins for the acknowledgements section. Here are a few examples.
- To run this code, simply open Developer tab in PowerPoint Depending upon the version of PowerPoint you need to enable this tab using "customize ribbon" option under "PowerPoint options",
- Place the code change the function to one you want or keep as it Run the macro and see changes as per logic defined. I have put comments in code for understanding and changing.
The best place to start is to explore VB functions in MS-powerpoint using MSDN library
- Powerpoint with Macro-enabled
oSl.Shapes(1).TextFrame.TextRange.Paragraphs(1).Lines(1, 1).Text = ""
where os1
is object of ActivePresentation.Slides
.
shape(1) will select main-heading
and paragraph
represent orders (1,2)and Lines
be donate lines of paragraph. The above line will thus delete the main-heading. The paragraph
is more relevant in text-box if you want to change the first-para heading you will select "paragraph(2).".
Please see the code for further comments. For more examples, please refer to the Documentation
Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.
If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
Distributed under the MIT License. See LICENSE.txt
for more information.
Your Name - @Catchabyte1 - [email protected]
Project Link: https://github.com/asadzz/Powerpoint-VBscript-hack
Use this space to list resources you find helpful and would like to give credit to. I've included a few of my favorites to kick things off!
Taken from website