Questions tagged [powerpoint]

PowerPoint is a Windows and Macintosh presentation program produced by Microsoft. It is primarily used to create presentations for projection. Due to the flexible nature of its canvas, it is also used for animation, e-learning, web broadcasting, business reporting and kiosk applications.

Amongst the standard Microsoft Office applications (Word, Excel, Outlook, Access and PowerPoint), PowerPoint is the least-developed against and for product. Technologies used to develop for and against PowerPoint:

  1. Visual Basic for Application (aka VBA)
  2. Visual Studio Tools for Office (aka VSTO)
  3. Visual Studio (Interop)
  4. Open Office XML (aka OOXML, OpenXML)

Other technologies such as PHP, Java and Perl have also been used to develop solutions for PowerPoint.

Relevant tags on Stack Overflow for PowerPoint programming:


Quick start powerpoint 2016

PowerPoint Quick Start

7041 questions
1
vote
1 answer

Create groupable tables in PowerPoint with VBA

By changing to as per OOXML Hacking: Locking Graphics's article, it is possible to quickly enable the grouping of tables in a slide, allowing a multitude of possible different uses…
Oran G. Utan
  • 455
  • 1
  • 2
  • 10
1
vote
0 answers

Powerpoint presentation INSIDE of the delphi application - answered in chat

I want to make a powerpoint viewer inside of delphi as a feature for one of my projects. All I want is to be able to display the powerpoint inside of the app and cycle through the slides Example of what I want: I have tried a variety of methods…
MGJC
  • 11
  • 3
1
vote
0 answers

How to get layer depth of an image inside a powerpoint presentation using pptx to check if it's visible?

I'm using pptx to run quality checks on some powerpoint presentations. I need to check if an image is visible: it must not be covered by another one on top of it. I understand that pptx has the depth value for Charts, but i can't find the same…
1
vote
0 answers

How to align text and a plot in a two-column layout in a quarto document rendering to power point presentation?

The following Quarto document is rendered to a Power Point presentation with a title slide and a Two Content Layout slide. In the Two Content Layout slide the text is aligned at the top of the placeholder, while the figure is vertically aligned at…
statadvice
  • 45
  • 5
1
vote
1 answer

Reading Formatted Text from PowerPoint Programatically

I use something like this to get the text from a shape inside PowerPoint: s = ActiveWindow.Selection.SlideRange.Shapes("rec1").TextFrame.TextRange.Text However, if the text has bold, underlined, resized (etc) text within the shape (meaning only…
OneNerd
  • 6,442
  • 17
  • 60
  • 78
1
vote
1 answer

Updating a PowerPoint via Excel VBA and save the *.pptx file (not SaveAs)

The aim is, that I have both (Excel and PowerPoint) open simultaneously. So when I run my Excel macro the PowerPoint should be updated and saved in the same file - no reopening and then some kind of SaveAs... I know / suppose that the solution of my…
tueftla
  • 369
  • 1
  • 3
  • 16
1
vote
1 answer

PowerPoint: How can we create an Undo entry for the actions performed on shapes?

Unexpected behavior of UNDO: When we perform certain actions in PowerPoint using OfficeJS it doesn't create an undo stack. when CTRL + Z is pressed PowerPoint ignores changes made using API. Example I'm working on an add-in that performs certain…
1
vote
1 answer

VBA Code to Create a Table of Hex Values of CustomColors

I used https://www.brandwares.com/bestpractices/2015/06/xml-hacking-custom-colors/ to create custom colors in PowerPoint using VBA. I want to know how to access these custom colors and create a colorized table in PowerPoint where a cell is colored…
luke
  • 25
  • 7
1
vote
1 answer

PowerPoint VBA change font for a multi selected text

Changing font in PowerPoint seems easy, this code is working well Application.ActiveWindow.Selection.TextRange.Font.Name = "Courier New" However, when you select multiple text elements inside a textframe, only the last selected element is…
CFou
  • 978
  • 3
  • 13
1
vote
0 answers

Powerpoint VBA - move the inserted audio after the existing animation

I have number of animations on a slide e.g 4 mainsequences. For each of animation, I want to insert relevent sound to start with the animation. I have the following function: Option Explicit Function InsertAudio(lngIndex As Long, filepath As…
1
vote
1 answer

ThinkCell change link Excel of the chart Power Point

I' have many bar charts ThinkCell in a Power Point, these ones are linked to different tables of the same Excel. Now, I need to duplicate this Power Point but linked to another Excel file with the same structure (same sheets, same tables in the same…
Marco
  • 49
  • 3
1
vote
1 answer

Saving a presentation through PowerPoint and Win32COM takes too long

I want to merge slides from multiple PowerPoint files into a single output file. I have a folder filled with PowerPoint files that each only contain one slide. My current code creates a new presentation, copies the slides from the input files and…
cubexy
  • 119
  • 1
  • 10
1
vote
1 answer

Convert PPT to image with high resolution

Here is my code. A 429KB ppt file, using the following code to generate a 161KB(resolution:661*1181) png image, but I want the photo as the window background full screen. The resolution of 161KB is too low. How to generate high-definition versions…
Chen
  • 13
  • 3
1
vote
1 answer

PowerPoint file shows more row height of a table than calculated height applied from code using Apache POI

I am using Apache POI 5.2.1 library to create a PowerPoint file. If height is set using API XSLFTableRow.setHeight() it doesn't get properly set on the PowerPoint. If the file is opened, we can see the row's height in layout tab which is…
1
vote
0 answers

DrawingML to Skiasharp arcTo conversion problem (Covert PowerPoint Vector Graphics)

I tried to convert some shapes (PresetGeometry) from PowerPoint, which is DrawingML format, to image file through Skiasharp, everything works fine until I tried to convert arcTo function. Here is the function that I'm using: path, Target SKPath wR:…