7,172 questions
Tooling
0
votes
2
replies
33
views
Automate file copying
I want to make a system where whenever a PowerPoint presentation is opened in PowerPoint app, the file is automatically copied from the original location to another folder.
I have no idea where to ...
Advice
0
votes
4
replies
64
views
Make PPT with slides from selected fields of Excel sheet (using AI tools)
I have an Excel sheet with several fields. I want to generate a PPT with one slide per row (having selected multiple rows) in the Excel sheet.
How can I do this using some AI tools (free versions only)...
Advice
0
votes
3
replies
59
views
Powerpoint reset presentator timer on Slide 2 (Or leaving slide 1)
I have my presentation on the first slide while the room fills.
I would like the Presentation timer to reset when moving to slide 2.
I can't seem to remember to either, press reset or pause/start to ...
0
votes
1
answer
63
views
How to detect nested groups in PowerPoint using VSTO (C#)?
VSTO is unable to capture nested groups within PowerPoint slides.
For example, consider this structure:
Group1:
├── Group2:
│ ├── Rectangle1
│ ├── Rectangle2
│ └── Line (connecting ...
1
vote
1
answer
116
views
VBA Powerpoint SendKeys fails to take a screenshot
I have succesfully implemented this from MS Excel, but making it work from PowerPoint has not been a success. I am making use of a proprietary screenshot tool which accepts the alt+PRTSC shortcut, but ...
0
votes
1
answer
76
views
Assign object to shape text that is currently selected
Powerpoint 365 VBA
Set sld = Application.ActiveWindow.View.Slide
Set Shp = sld.Shapes(2)
If Shp.TextFrame2.HasText Then
Txt = Replace(Shp.TextFrame2.TextRange.Text, " ", "+&...
0
votes
1
answer
59
views
How do I hide navigation buttons for a main slide in a series of PowerPoint slides until the viewer has viewed the all of the corresponding slides?
Short Summary: On the main slide (slide20), I want the user to click through all the examples - any order - (slides 21-24). I have navigation buttons on slide 20 that I want to stay hidden until the ...
1
vote
0
answers
171
views
Docling PPTX Image Extraction Issue - Missing Embedded Images from Placeholders
> '''
> import logging
> import time
> from pathlib import Path
> from docling_core.types.doc import ImageRefMode, PictureItem, TableItem
> ...
0
votes
1
answer
96
views
PPT Presentations.Open changed from Version 2508 (Build 19127.20192)
I have a problem with calling PowerPoint's Presentation.Open method.
It seems to me that the Untitled parameter to
Presentation.Open
has changed.
When opening the same file twice (once with Untitled:=...
0
votes
1
answer
64
views
PowerPoint VBA - Display the Icons Task Pane on macOS
As part of a customised VBA-based add-in, I've been trying to display the Icons task pane which idMSO is "IconInsertFromFile" (button type) but which doesn't work on macOS, although it runs ...
0
votes
1
answer
93
views
Is there any way or method to convert pdf file in powerpoint file using core not api in Swift MacOS Cocoa?
I have tried a way but after generating pptx it is not opening may be some configuration xml are missing. This code converted pdf to pptx but that file is not open say some error "Sorry are cant ...
1
vote
1
answer
109
views
Python Win32Com: How do I open a password-protected Powerpoint?
I tried to use the below code to open a password-protected ppt, but I got error:
TypeError: Open() got an unexpected keyword argument 'Password'
Is it possible to use Win32Com to open a password-...
0
votes
0
answers
41
views
Last Save time property is not updated when PowerPoint file is saved in SharePoint online
we need to know if an opened presentation is edited by a user in PowerPoint. We try todo this by remembering the initial Last save time when the presentation is opened and compare it with the current ...
1
vote
1
answer
103
views
Detecting Page Number TextBox in PowerPoint in VBA
I am trying to make a macro to update the page count of visible pages.
I have a code like this:
Sub SetVisiblePageNumers()
Dim pageNumber As Integer
Dim pp As String
pageNumber = 1
...
0
votes
0
answers
103
views
Create PPT from Excel data using VBA Macros, dynamically allocating contents to each slide
I have an excel data, I want to generate a PPT with the contents in multiple slides dynamically adjusting based on the content size, rows per slides and column width.
Sub ExportToPPT()
Dim pptApp ...
0
votes
0
answers
72
views
Thinkcell UpdateChart "Object doesn't support this property"
I'm trying to run a macro from an Excel book to automate a chart update in powerpoint. It is going to reseat the source range of a chart I have created.
I am doing this to then generate the same chart ...
0
votes
0
answers
71
views
Getting and setting PowerPoint indent settings
I'm trying to write two routines, one that picks up a paragraphs bullet settings including (especially indenting) but am getting nowhere picking up the settings. I tried these two variations but I ...
0
votes
0
answers
86
views
Set shape's language in PowerPoint 365 for MacOS
I want to set English US as default language for all shapes on my slides.
It seems the object model for PPT has changed over the years because none of the >5 years old macros here 1, 2 work.
I get ...
1
vote
2
answers
60
views
Powerpoint VBA - random phrases in a text box - Error 424 Object required
This is an issue with Powerpoint VBA.
I want to have some random phrases to show up in a powerpoint presentation.
I want the phrases to show in a text box inside a slide in the presentation
I have a ...
0
votes
0
answers
51
views
Get nested element using UIAutomation ElementfromCursor() failed, but with Accessibility Insights succeeded
I'm trying to use UIAutomationClient library in .NET to get the element under the mouse cursor using ElementFromPoint(). This works in general, but when I click any items on PowerPoint slides, I can ...
2
votes
1
answer
101
views
Opening Animation Pane in PowerPoint with condition via VBA
The following code opens Animation Pane in Power Point Application.
Application.CommandBars.FindControl(Id:=730, Type:=1).Execute
I want to open Animation Pane if Animation Pane is not already open.
-1
votes
1
answer
92
views
How to attach a ppt file to email with python
I have a code to automate email. Please help how to attach powerpoint files to the messages.
This is my code. It does not attach the ppt to the email. Thank you all.
import smtplib, ssl
from email....
2
votes
1
answer
84
views
Reference an open Excel file from PowerPoint using VBA [duplicate]
I found the following VBA code for PowerPoint which works and allows PowerPoint to reference an Excel file
Private Sub test()
Dim xlApp As Object
Dim xlWorkBook As Object
Set xlApp = CreateObject(&...
0
votes
0
answers
123
views
Apache POI `4.1.2` PowerPoint file corrupt on open, worked with Apache POI `3.17`
I'm generating a PowerPoint file using Apache POI version 4.1.2. The file is created without any errors during execution, but when I try to open it in PowerPoint, I get the following error message:
&...
0
votes
1
answer
59
views
VBA PowerPoint: Selection is not pulling data correctly?
I am trying to write a VBA script to convert a selection in a PowerPoint presentation into a Hyperlink that references the relevant slide. The text has at the end of each line a page number which is ...
1
vote
0
answers
57
views
Can we convert legacy styled .csproj file of VSTO powerpoint addin into the SDK styled .csproj file? if yes then How?
Currently, I am trying to convert the default legacy styled .csproj file of VSOT power point addins into the SDK styled file, and I am getting mixed reviews in it.
so if it is possible then explain ...
0
votes
0
answers
57
views
Powerpoint Slide Shapes (position set by vba) move on their own when the slide is subsequently activated
I am writing MS Project code that edits a Powerpoint presentation, adding images captured from MS Project to Powerpoint. My MS Project automation allows the user to specify margin sizes (T,B,L and R) ...
0
votes
1
answer
84
views
Make some margins between cell and image in the Table of Power Point
How to make some margins between cell and image in the Table of Power Point?
-1
votes
1
answer
96
views
How to make a Table of 200 rows in PowerPoint Application
I want to make a Table of 200 rows in PowerPoint Application.
The following code throws this error: Run-time error 424: Object requried
How to solve that error?
0
votes
0
answers
104
views
Read the path of a linked picture, which is used as a filling in Powerpoint by VBA
in Powerpoint I can insert pictures as a «copy» or «linked» (to keep the size of a presentation small).
If I insert a linked picture, I can read the path like this:
Shape.LinkFormat.SourceFullName
To ...
1
vote
0
answers
93
views
Inconsistent Results with Llama index parser?
My team and I are using LlamaIndex's LlamaParse to read in PowerPoint documents. We've noticed inconsistency issues when running the same user_prompt setup for multiple files in one run.
We have a ...
0
votes
0
answers
29
views
Can we have PPT slide creation with multuthreading using apache-poi which can return single final PPT
So i will be creating set of 10 slides for each scenarios, and say i may have around 30 scenarios. So i was trying to make this concurrent where the generation of data and creating slide should be ...
0
votes
0
answers
42
views
Clipboard API: Leading spaces lost on first HTML paragraph when pasting into PowerPoint
I'm using the Clipboard API to copy styled HTML content with leading spaces into Microsoft PowerPoint, and I found that using a combination of and mso-spacerun:yes works well — except for ...
1
vote
1
answer
98
views
Copy HTML to the clipboard and preserve leading spaces when pasting into PowerPoint
I'm using the Clipboard API to copy styled HTML content to the clipboard. When pasting into Microsoft PowerPoint, I want to retain leading spaces for formatting purposes. However, PowerPoint trims ...
0
votes
1
answer
51
views
How to update font color data in vba powerpoint in the slideshow mode?
I have a PowerPoint presentation with various shapes containing text, where the text is black except for one shape, which has red font color. The font color of different shapes changes to red through ...
0
votes
0
answers
68
views
Update a time field on a PowerPoint slide at one second intervals
I am writing PowerPoint VBA code that appears to not work initially until a macro is run or the VBA code window has been opened.
I put a button on the first slide that runs a macro and that seems to ...
0
votes
1
answer
103
views
How to use python-pptx to extract infrequent tables?
I have a pipeline where I'll be needing to ingest PowerPoint (pptx) files using Python. These files will mostly have text, occasionally have tables, and won't always have the same format and/or design....
0
votes
0
answers
191
views
VBA - Microsoft Purview - Sensitivity Labels - detecting label event and determining what label's text should be
We are implementing the Microsoft Purview Sensitivity Labels.
For PowerPoint, we are not happy with how the default label is applied - the deck has multiple designs, some light, some dark so a single ...
0
votes
1
answer
83
views
VBA macro or other way to export one or multiple OLE objects in Excel powerpoint to JPG
I have linked macro-enabled worksheet objects from excel to 25 different powerpoint slides in my powerpoint deck. Some slides have up to three linked objects and others have only one. For the slides ...
0
votes
0
answers
116
views
How to unlock PPT for editing using VBA
I am trying to unlock a protected PPTX file, edit and save as.
The script works if the file is not locked.
How do I unlock a PPTX file using VBA 7.1?
Sub UpdatePPT()
Dim oPPApp As Object, oPPPrsn As ...
0
votes
1
answer
166
views
how to export an app screenshot to a powerpoint slide through powerapps?
I am trying to develop or apply a built-in function for the OnSelect property of a button to let the user press on it and automatically export a screenshot of the powerapps canvas app to a powerpoint ...
0
votes
1
answer
56
views
How can I get OnAction to work for a programmatically created button in a PowerPoint VB macro?
I am trying to programmatically create a button in PowerPoint but I am having a problem with OnAction. (I manually created a button that links to the subroutine that programmatically creates the ...
0
votes
0
answers
68
views
How can i change the legend in powerpoint with apache POI?
I am using java 21 and apache POI 5.4.0. The task is to generate a pptx file from a powerpoint file which works as template. The template has keys like {{ model.info.title }}.
The template has graphs ...
0
votes
1
answer
120
views
How do I set an animation effect to trigger on click of a specific shape?
I am writing VBA to add an animation to an object.
My goal is to make the added animation trigger on click of another specific shape
Image of Trigger on Click object, Animated object, then Animation ...
0
votes
0
answers
29
views
Issue with colspan/rowspan Converting HTML to PowerPoint using XHTMLtoPPTX
I am trying to convert HTML content into PowerPoint slides using the XHTMLtoPPTX library, but I am encountering this issue:
Table properties such as colspan and rowspan are not being applied and ...
0
votes
0
answers
25
views
PowerPoint Content add-in resizing issue during load
We are currently developing a PowerPoint content add-in and have encountered an unusual behavior during presentation mode. When a slide containing the add-in is displayed for the first time, it ...
1
vote
1
answer
55
views
Macro to delete selected slides
I am writing a macro to delete selected slides, i.e. clicked on, in the thumbnails pane of the Normal View.
There is always a selected slide even if none have been clicked on. If the macro is run, ...
0
votes
1
answer
68
views
PowerPoint VBA code is inconsistent when running in attempt to export OLE objects as high resolution JPG files
I have linked macro-enabled worksheet objects from excel to 25 different powerpoint slides in my powerpoint deck. Some slides have up to three linked objects and others have only one. For the slides ...
2
votes
1
answer
51
views
Position a Picture
I'm changing dynamically a picture in my presentation using OpenTBS.
But, I'm not able to insert the picture in a specific X-Y position.
Is this possible with OpenTBS?
My code to change the picture is ...
0
votes
0
answers
56
views
Apache POI ppt to image, broken table border
I created a table in ppt with 1px solid border applied to all.
but If you check the resulting image using POI, you can see that the border is double-lined.
how to fix it?
for (XSLFSlide slide : ppt....