GPT Cookbook | Instant PowerPoint Presentation

Blog
3 min readMay 31, 2023

Many of us know that OpenAI’s ChatGPT has innumerable offerings. One of the most useful is to automate a PowerPoint Presentation. The ethics behind this remains grey or black in the world of plagiarism, so proceed with caution. Either way, this is nifty way to entertain yourself or create presentations for Toastmasters International meetings.

The recipe is simple and requires very few ingredients.

INGREDIENTS

(1) OpenAI ChatGPT: https://chat.openai.com/

(1) Microsoft PowerPoint: https://www.microsoft.com/en-us/microsoft-365/powerpoint

RECIPE

The recipe has two parts, one for each ingredient. Let’s start with ChatGPT as the first part. Then we’ll open PowerPoint for the second.

Open a browser and navigate to https://chat.openai.com/.

The free ChatGPT 3.5 version or GPT-4 will both work.

In ChatGPT, the prompt should be in this format or something similar:

Write VBA code for a PowerPoint presentation about [SUBJECT].
Fill n slides with relevant headers and slide content using your knowledge.
Do not use filler text.

Fill in [SUBJECT] with the topic of interest. Make sure to use quotation marks if you explain the topic with multiple words.

Change the n value of slides to the number of slides you want.

Press [Continue Generating] in ChatGPT if necessary until the response is complete.

Let’s move on to the second part of this and open PowerPoint.

If you need to get PowerPoint, it’s available here: https://www.microsoft.com/en-us/microsoft-365/powerpoint.

Create a Blank Presentation.

Make sure the Developer Tab is visible.

If you can’t find the Developer Tab, follow these two steps:

  1. On the File tab, go to Options > Customize Ribbon.
  2. Under Customize the Ribbon and under Main Tabs, select the Developer check box.
  3. Press OK.
From https://support.microsoft.com/en-us/office/show-the-developer-tab-e1192344-5e56-4d45-931b-e5fd9bea2d45

Click the [Visual Basic] button on the Developer Tab. It’s in the Code section.

Insert a Module.

Go back to the ChatGPT Chat and copy the Visual Basic for Applications (VBA) Code that was generated.

Paste it in the PowerPoint Module.

Sometimes PowerPoint will give you an error. To handle any of these incidents just type the error, verbatim, into ChatGPT for debugging.

Iterate this process until it gives you error-free code.

Afterwards, select the Design Tab and choose a Theme.

Then select each slide to customize the slide background. Make sure to edit the content in each slide.

Remember: Always remain ethical.

--

--