Skip to content

Latest commit

 

History

History
 
 

powerpoint-tutorial

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
page_type urlFragment products languages extensions description
sample
office-powerpoint-add-in-tutorial
office
office-powerpoint
javascript
contentType technologies createdDate
samples
Add-ins
09/19/2023 4:00:00 PM
A completed version of the step-by-step PowerPoint tutorial hosted on learn.microsoft.com.

PowerPoint Tutorial (Visual Studio) - Completed

Summary

This sample is the result of completing the Tutorial: Create a PowerPoint task pane add-in. It was constructed with Visual Studio 2022.

The tutorial gives step-by-step instructions on how to add functionality alongside explanations as to why code is being added. Use this sample if you want to explore and try the completed code, or if you need to debug any issues you encountered while following the tutorial.

Features

This sample demonstrates the basics of working with a presentation in PowerPoint. The functions add the Bing photo of the day to a slide, add text to a slide, get slide metadata, and navigate between slides.

Applies to

  • PowerPoint on Windows
  • PowerPoint on Mac
  • PowerPoint on the web

Prerequisites

  • Office connected to a Microsoft 365 subscription (including Office on the web).
  • Visual Studio 2022 or later.

Solution

Solution Author(s)
Learn the basics of PowerPoint add-ins Microsoft

Version history

Version Date Comments
1.0 9-19-2023 Initial release

Run the sample

  1. Fork and download this repo.

  2. Go to the Samples/tutorials/powerpoint-tutorial/HelloWorld folder.

  3. Open the HelloWord.sln file in Visual Studio.

  4. Press F5 or choose the Start button to launch PowerPoint with the Show Taskpane add-in button displayed on the ribbon. The add-in will be hosted locally on IIS.

  5. If the add-in task pane isn't already open in PowerPoint, go to the Home tab and choose the Show Taskpane button in the ribbon to open it.

  6. Use the buttons in the task pane to interact with the presentation through your add-in.

See also

The version of this sample that you create step-by-step is found in the article Tutorial: Create a PowerPoint task pane add-in.

Copyright

Copyright (c) 2023 Microsoft Corporation. All rights reserved.

This project has adopted the Microsoft Open Source Code of Conduct. For more information, see the Code of Conduct FAQ or contact [email protected] with any additional questions or comments.