Laptop showing a ChatGPT prompt for VBA code that creates PowerPoint slides, with Word export and Download a Copy screenshots
PowerPoint

How to Create PowerPoint Slides with ChatGPT (2 Easy Methods)

You can create PowerPoint slides with ChatGPT in a few minutes instead of building every slide by hand. ChatGPT writes the content, and PowerPoint or Word turns it into a deck. This guide shows two practical methods: one where ChatGPT writes VBA code that builds the slides inside PowerPoint, and one where ChatGPT writes slide-by-slide text that Word for the web exports to a designed presentation.

It is for office users, teachers, trainers and students who need a first draft of a deck quickly. You need a ChatGPT account, PowerPoint on Windows for Method 1, and a Microsoft account with OneDrive for Method 2. Both methods use the same example topic: “Use of AI in daily office work”.

🎥 Watch the Video Tutorial

Two Ways to Create PowerPoint Slides with ChatGPT

Method 1: ChatGPT + VBA Method 2: ChatGPT + Word for the web
What ChatGPT writes VBA code that builds the slides Slide-by-slide text
Where the deck is built PowerPoint desktop (Windows) Word for the web, File > Export
Design Plain default layout, then polish with Designer Design theme chosen during export
Needs Developer tab or Alt+F11 Microsoft account and OneDrive
Best for Repeatable decks, exact control over text Quick, good-looking first drafts

Method 1: Ask ChatGPT for VBA Code That Builds the Slides

In this method, ChatGPT does not create a file. It writes a short macro, and PowerPoint runs that macro to create the slides for you.

Step 1: Use This Prompt

Write the details VBA code to create 5 slides in the Power Point on below given [Topic]. In each slide cover 3 to 5 bullet points with details. Add first slide as the title slide and last slide as Thank You. Write the details of each slide in the VBA code.

[Topic]: Use of AI in daily office work
ChatGPT 4 chat box with a prompt asking for VBA code to create 5 PowerPoint slides on use of AI in daily office work
The Method 1 prompt typed into ChatGPT.

How the Prompt Is Built

Part of the prompt What it controls How to change it
“VBA code” Output is a macro, not plain text Keep as is for Method 1
“5 slides” Number of slides Any number, for example 8 or 10
“3 to 5 bullet points” Amount of text per slide Fewer bullets for presentations, more for handouts
“first slide as the title slide and last slide as Thank You” Opening and closing slides Swap “Thank You” for “Questions” or “Next Steps”
[Topic] Subject of the deck Your own topic, with audience if useful

Step 2: Run the Code in PowerPoint

  1. Copy the VBA code from ChatGPT.
  2. Open PowerPoint with any presentation, or a new blank one.
  3. Go to Developer > Visual Basic, or press Alt+F11.
  4. In the Visual Basic window, choose Insert > Module.
  5. Paste the code into the module.
  6. Click Run or press F5.

The slides are created in a new presentation. Save that new file as a normal .pptx.

What the Code Looks Like (Worked Example)

The exact code ChatGPT returns will vary, but it follows this pattern. Here is a shortened version with the title slide and one content slide:

Sub CreateAIOfficeSlides()
    Dim pres As Presentation
    Dim sld As Slide

    Set pres = Presentations.Add

    ' Slide 1: title slide
    Set sld = pres.Slides.Add(1, ppLayoutTitle)
    sld.Shapes(1).TextFrame.TextRange.Text = "Use of AI in Daily Office Work"
    sld.Shapes(2).TextFrame.TextRange.Text = "Practical ways to save time"

    ' Slide 2: title and bullet points
    Set sld = pres.Slides.Add(2, ppLayoutText)
    sld.Shapes(1).TextFrame.TextRange.Text = "Email and Communication"
    sld.Shapes(2).TextFrame.TextRange.Text = _
        "Draft replies faster" & vbCr & _
        "Summarise long email threads" & vbCr & _
        "Check tone and grammar before sending"
End Sub

Expected result: a new presentation with two slides. Slide 1 uses the Title layout with the heading and subtitle. Slide 2 uses the Title and Content layout with three bullet points, because each vbCr starts a new bullet. ChatGPT’s full answer simply repeats the slide block for slides 3, 4 and the Thank You slide.

Useful Variations

  • More slides: change “5 slides” in the prompt. ChatGPT adds one block per slide.
  • Speaker notes: add “Add speaker notes for each slide” to the prompt. ChatGPT can then add lines that fill each slide’s notes page.
  • Section headers: ask for “a section header slide before each main topic”.
  • Your own outline: paste your headings and ask ChatGPT to “use exactly these slide titles”.
  • Another language: add “Write the slide text in Hindi” (or any language).

Common Errors and Fixes

Problem Likely cause Fix
“User-defined type not defined” on Presentation Code was pasted into Excel or Word VBA Paste it into PowerPoint’s Visual Basic window
Red lines or syntax error after pasting Curly quotes or a line broken in the wrong place Ask ChatGPT to “return the code in one code block with straight quotes”
Error on Shapes(2) The chosen layout has no second placeholder Use ppLayoutText for bullet slides
No Developer tab Tab is hidden by default Press Alt+F11 instead
Macros blocked Your organisation’s security policy Use Method 2, or ask your IT team

Polish the Slides with Designer

The macro creates plain slides on the default layout. PowerPoint’s Designer can then suggest layouts and images for each slide. This short video shows how:

For a written walkthrough, see quick and professional slides with PowerPoint Designer.

Method 2: Ask ChatGPT for Slide Text and Export It from Word

This method skips code. ChatGPT writes the content, you save it in a Word document on OneDrive, and Word for the web converts it into a themed presentation.

Step 1: Use This Prompt

Create the content for the 5 slides of Power Point. In each slide cover 3 to 5 bullet points with details. Add first slide as the title slide and last slide as Thank You.

[Topic]: Use of AI in daily office work

Step 2: Save the Content in Word on OneDrive

  1. Copy the slide-wise content from ChatGPT and paste it into a new Word document.
  2. Save the file in a OneDrive folder with a clear name.
  3. In File Explorer, right-click the file and choose OneDrive > View online.
File Explorer right-click menu on a Word file with OneDrive submenu and View online highlighted
Open the Word file in the browser with OneDrive > View online.

Step 3: Export to PowerPoint

  1. The document opens in Word for the web.
  2. Go to File > Export > Export to PowerPoint presentation (preview).
  3. Select a design theme and click Export.
  4. Wait a few moments while the presentation is prepared, then click Open presentation.
Word for the web Export page with Export to PowerPoint presentation (preview) highlighted
The export option sits under File > Export in Word for the web.

Step 4: Download the Presentation

The new deck opens in PowerPoint for the web. To keep a copy on your computer, go to File > Save as > Download a Copy.

PowerPoint for the web Save as page with Download a Copy highlighted above PDF, ODP and Images options
Download a Copy saves the presentation to your computer.

The export option is marked “preview” by Microsoft, so its name or availability can change by account type and region. If you do not see it, Method 1 still works on the desktop.

Tips for Better AI-Generated Slides

  • Name the audience. “For new employees” or “for senior managers” changes the depth of every bullet.
  • Keep bullets short. Ask for “maximum 12 words per bullet” so slides stay readable.
  • Check the facts. ChatGPT can make mistakes, as its own screen notes. Verify numbers, dates and names before you present.
  • Edit the voice. Rewrite a few lines in your own words so the deck sounds like you.
  • Add real visuals. Charts and screenshots from your own work beat generic images. Our guide on how to embed files into PowerPoint and the data-driven 3D container chart show two ways to do that.

Limitations to Keep in Mind

Neither method replaces a person who knows the subject. The VBA route creates plain slides that still need design work, and macros may be blocked on managed work computers. The Word export route depends on a preview feature and a Microsoft account. In both cases, the content is only as accurate as what ChatGPT produced, so review every slide. If you are curious about other AI assistants, see how to use Copilot in Windows 11 and writing code with ChatGPT, Claude and Copilot.

Related tool: if your slides need data, tables and charts from an Excel workbook, the Automatic Data Transfer from Excel to PowerPoint tool on NextGenTemplates builds the slides with one Create PPT button, and you can run it again when the workbook changes.

Get the Automatic Data Transfer from Excel to PowerPoint

Frequently Asked Questions

Can ChatGPT create PowerPoint slides directly?

ChatGPT writes the content or the code. In the methods shown here, PowerPoint (through VBA) or Word for the web (through Export) builds the actual presentation file.

Is the VBA method safe?

Read the code before running it. Code for building slides only adds slides and text. Do not run any macro you do not understand, and never run code that deletes or sends files unless you asked for that.

Does Method 1 work on a Mac?

PowerPoint for Mac supports VBA, but some code from ChatGPT is written for Windows. If it fails, use Method 2, which runs in the browser.

Why can’t I find “Export to PowerPoint presentation” in Word?

The option is in Word for the web, not the desktop app, and the file must be saved to OneDrive. Microsoft labels it a preview, so it may not be available on every account.

How many slides can I create at once?

Change the number in the prompt. For long decks, ask ChatGPT for 8 to 10 slides at a time so the answer is not cut off.

Do I need a paid ChatGPT plan?

No. Both prompts work on the free plan. Paid plans may give longer and more detailed answers.

Wrapping Up

To create PowerPoint slides with ChatGPT, pick the method that suits you: VBA when you want exact text and repeatable results, or Word for the web export when you want a themed draft without code. Try the prompts above with your own topic, then spend your saved time on what matters: checking the facts and rehearsing the talk.

📅 Last updated: October 2026

PK
Written by PK (Priyendra Kumar)
Microsoft Certified Professional with 15+ years in data analysis, dashboards and automation. Creator of PK: An Excel Expert and NeoTech Navigators on YouTube. About the author
Tested in the real tool · Last reviewed October 10, 2026
PK
Meet PK, the founder of NeotechNavigators.com! With over 15 years of experience in Data Visualization, Excel Automation, and dashboard creation. PK is a Microsoft Certified Professional who has a passion for all things in Excel. PK loves to explore new and innovative ways to use Excel and is always eager to share his knowledge with others. With an eye for detail and a commitment to excellence, PK has become a go-to expert in the world of Excel. Whether you're looking to create stunning visualizations or streamline your workflow with automation, PK has the skills and expertise to help you succeed. Join the many satisfied clients who have benefited from PK's services and see how he can take your data analysis skills to the next level!
https://neotechnavigators.com