101 questions
1
vote
1
answer
56
views
Office 365 PowerPoint add-in not showing up online, but works on desktop [closed]
We built Office Add-Ins for Outlook, Word and PowerPoint. They mostly look and work OK on the desktop and online. We load them via Admin Portal => "Integrated apps". This works for ...
1
vote
1
answer
126
views
How to hide / show slides?
I am trying to add a sideload add-in doing some automation in powerpoint.
I couldn't find a command or property in the powerpoint office add-in to hide/show slides.
Does anyone know how to hide / show ...
0
votes
1
answer
63
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
0
answers
39
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
79
views
Unable to use open extension on drive items
I am trying to make use of the following Microsoft Graph API endpoint to add an extension to a .pptx file:
POST https://graph.microsoft.com/v1.0/drives/{drive-id}/items/{item-id}/extensions
Content-...
0
votes
0
answers
16
views
Is there a way to both get the current XML of a Powerpoint and load an edited version of the XML into the PowerPoint?
I am creating a Powerpoint Taskpane Add-in and need a way to read the current XML of the entire Powerpoint when the taskpane is open, then I need a way to be able to load in XML.
I'm aware there's the ...
0
votes
0
answers
29
views
textRange.Words not found? Visual Studio js addin
I am making an addin using visual studio powerpoint web app addin template.
Below code Im attempting to set the first 3 words to bold. A breakpoint before this shows that the "words" member ...
0
votes
0
answers
63
views
Load sync error while using PowerPoint Javascript API
I am trying to add a basic textbox/Geometric shapes into the PowerPoint on click of a button (using Microsoft Add-ins) . I am going through this document provided by Microsoft - Text in shapes.
It ...
0
votes
0
answers
37
views
Accessing and Manipulating Metadata in PowerPoint with Office-JS
I’ve been exploring ways to access and manipulate metadata in PowerPoint, particularly Custom Properties. While I’ve come across the option to use Tags, they don’t seem to integrate well with Office-...
1
vote
0
answers
67
views
Microsoft PowerPoint API returns empty placeholder text after recent update
I’m using the Microsoft PowerPoint JavaScript API to generate slides from slide master, where the shapes are created within layouts using GeometricShape. A placeholder text is assigned to each shape ...
2
votes
1
answer
92
views
Getting the font of powerpoint slides using Office JS
I am working on creating a taskPane integration for microsoft powerPoint web and I am trying to get the font of each slide. This is the code I am working with
async function validateSlideDeck() {
...
0
votes
2
answers
69
views
Change the content of a powerpoint using MS add-ins
I am trying to open a presentation in MS- PowerPoint. I have created a add-In for it. It has a button which will retrieve the file on click of a button from s3 and then it will upload the file into ...
0
votes
1
answer
78
views
How to add PowerPoint's ShapeFill Button to a custom Ribbon in a C# PowerPoint AddIn?
I am developing a PowerPoint AddIn using C#. In PowerPoint's default ribbon, the ShapeFill button is implemented as a split button—where the left side functions as a regular button, and the right side ...
1
vote
0
answers
30
views
How to store PowerPoint Shape in OpenXML?
I have created a VSTO AddIn in C# - with a ribbon and a taskpane. My goal is, to store some manual created shapes in the POTX which I can read out from my AddIn and provide to be inserted in a slide.
...
0
votes
1
answer
35
views
can i get table cell text in Powerpoint add-in
I am working on an PowerPoint add-in using office.js api and I am using React+Typescript. I have a translation api and I translate text from selected shapes and it's working well but I want to ...
1
vote
0
answers
53
views
Developing a cross Platform PowerPoint AddIn
I want to develop a cross platform PowerPoint Add In (to mainly be used on PowerPoint for Windows and Mac) but I cannot use the JavaScript API, since it doesn't offer certain events, when in ...
0
votes
0
answers
512
views
Undo action not working properly in PowerPoint office add-in when inserting slide using insertSlidesFromBase64 method
I am developing a PowerPoint add-in wherein there is a functionality of adding a slide using the base64 string and the method insertSlidesFromBase64. Below is the code for the same:
await PowerPoint....
0
votes
0
answers
53
views
Insert text into a slide with the javascript office add-ins API doesn't work
Anyone can help me with the javascript office add-ins API for powerpoint?
I am trying to add a sideload add-in that just has a button to some text on a slide. And this works perfectly fine when I put ...
0
votes
0
answers
31
views
Formatting getting disturb while opening file using base64(Alignment,Font Colour,FontSize etc.)
My Environment
Platform : PC desktop
Host: Power Point
Office version number: Microsoft® PowerPoint® for Microsoft 365 MSO (Version 2404 Build 16.0.17531.20140) 64-bit
Operating System: Windows 11 pro
...
2
votes
0
answers
68
views
PowerPoint API getSelectedDataAsync with coersion type SlideRange fails on new line character in slide title
This is more of a bug report for the PowerPoint API. (Office add-in)
When using getSelectedDataAsync with coersiontype SlideRange the request fails if there is a new line (\n) character in the title ...
1
vote
0
answers
163
views
Get preview / thumbnail / image of individual slides in PowerPoint using OfficeJS and Office Add-Ins (Web)
We need to obtain image previews or thumbnails of each slide in an Office Add-In. We are currently developing a functionality using Office Add-Ins (PowerPoint), where users can open a PowerPoint ...
0
votes
1
answer
195
views
Problem Creating a Textbox on PowerPoint Addin Slide Using JavaScript API
I am trying to create a PowerPoint Addin and would like to dynamically create and format a textbox on an active slide when a button is clicked. I have done a lot of research and debugging but I am not ...
0
votes
0
answers
95
views
Cant load data in shape tags for powerpoint add-in
[stripped whining]
My current issue is that I am trying to get a list of shapes, and check the tags for each shape and if I find a specific tag, I do something with it.
This worked at one time, and I ...
0
votes
0
answers
90
views
Select similar shape type in Powerpoint using VBA
I was trying to create a VBA script for my PowerPoint where it will recognize the selected shape type and select all similar shape type available in current slide, similar to the select all shape with ...
0
votes
1
answer
206
views
Storing created macro as Add-In to use on any PowerPoint file without having my macro file open
I want to access my macros when I do not have the file I saved my macros in open.
I planned on making an addin, or a functionality in the ribbon, that, when the button is clicked, will run the ...
0
votes
1
answer
52
views
Reopen file using office JS
Is it possible to reopen the already open file by discarding unsaved changes using office JS. According to the office API we don't have any open method. https://learn.microsoft.com/en-us/office/dev/...
0
votes
0
answers
61
views
Need approach for developing custom PowerPoint UI: new macros activated from customized ribbon tabs, usable on PC and Mac
What I'm trying to accomplish
Build a customized set of macros in PowerPoint designed to make it faster and easier to work with
Include a customized set of tabs on the ribbon for activating these ...
0
votes
0
answers
65
views
To show dynamic chart from takpane to slide in office PowerPoint add-in?
Dynamic chart from takpane should be shown in slide, is this possible in PowerPoint office add-in?
currently chart shown in task pane is by using chart.js and its dynamic,
I have already try using in ...
0
votes
1
answer
448
views
Transpose table in Powerpoint VBA
I was looking for button where I can transpose the table on one click in powerpoint, I have tried few script's but it's not working for me, sharing below for you to understand what I am trying, and ...
0
votes
1
answer
321
views
Is it possible to utilize the Office.js for reading and writing text into presenter notes of a PowerPoint presentation? [closed]
I've created a powerpoint add-in and I need to insert text into the presenter notes. Is it feasible to use the Office.js library to read/write text in PowerPoint add-in presenter notes? I've searched ...
1
vote
0
answers
142
views
How to copy of the shape object in office js powerpoint addin
How do I copy a shape object using PowerPoint office-js APIs?
Are there any Javascript office-js APIs for creating copies of selected shapes?
By clicking a button in the taskpane, I want to copy a ...
0
votes
0
answers
379
views
Office API - This add in could not be started. Close this dialog to ignore the problem or click "Restart" to try again
I am simply following the tutorials to create the Office AddIn using Office API and it is not working well. I am getting an error - This add in could not be started. Close this dialog to ignore the ...
2
votes
1
answer
173
views
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'...
5
votes
1
answer
3k
views
Can React apps be embedded into a PowerPoint?
I'm trying to create a PowerPoint content add-in with Office JS and the PowerPoint JavaScript API that is capable of embedding HTML and React components into slides. This is my first time trying to ...
0
votes
1
answer
368
views
Insert slide(s) before or after currently selected slide in PowerPoint
I have a function that fetches an API, that converts PowerPoint presentations into base64 strings. After getting the response object, I want to insert the slides into the current presentation, ...
0
votes
1
answer
72
views
Set PowerPoint grid spacing using JS API
I am currently building an Office Add-in for PowerPoint and would like to set the grid spacing using Office JavaScript API. Is this even possible?
I looked through the corresponding API documentation ...
3
votes
0
answers
129
views
Applying color scheme in presentation slides does not re-render all slides with correct text
I want to apply color schemes in an Office VSTO Add-In using the ThemeColorScheme.Load(colorSchemeFile) but not all slides are shown with the applied color scheme. In the slide thumbnail pane the ...
1
vote
2
answers
103
views
Cannot detect READ-ONLY state of active document
Looking for a C# solution I can use through VSTO. We're running Windows 10 and Office 365
When we open a PowerPoint file from SharePoint, we get the following alert.
If you were to check the ...
0
votes
1
answer
54
views
ProtectedViewWindow Events are not firing in PowerPoint
Office Version: 2303 (Build 16227.20280)
Below is a very simple project. I subscribe to a few events, and write to the debugger.
I have some sample files that are guaranteed to display a ...
1
vote
1
answer
333
views
PowerPoint Office JS Task Pane Addin functionality to copy and paste shape
I must be missing something, but I cannot seem to figure out how to build a simple function to copy and paste a shape in my Office Addin for PowerPoint. Seems there is no support for this. At least ...
0
votes
1
answer
128
views
Where to best store shapes and slides to be used in Office JS Task Pane Addin
I have an Office JS Task Pane Addin with some different features. For some features I need to store custom shapes that I want the user to be able to insert on slides. I also need to do the similar for ...
-1
votes
1
answer
178
views
Calling a macro from a PowerPoint COM AddIn in VBA
I have the following issue: I am trying to write a VBA macro in PowerPoint, whose sole purpose would be to run a macro that is contained in a COM PowerPoint addin (so a .dll file, not a .pptam). This ...
1
vote
1
answer
94
views
how to stop & start mp4 in Powerpoint c# vsto
I am able to add MP4 video on PowerPoint slide , and I want to play programmatically and once it finished playing its need to move next slide automatically and another video start in next slide .
...
0
votes
0
answers
140
views
Pasting multiple slide ranges with ExecuteMso("PasteSourceFormatting") results in only the last one beeing pasted
Im am creating a PowerPoint Add-In in Visual Basic with Visual Studio as VSTO Add-In. With one of the buttons in my Add-In I want to add slides from two different presentations to my current one while ...
0
votes
1
answer
43
views
A PowerPoint add-in module in VBA that searches for textboxes with numbers and text then repositions them to overlay the bottom-left of an image
Objective of the code:
Create a PowerPoint add-in module in VBA that searches for textboxes that have the shape-fill hex code #002466 where the first character is a number and the second character is ...
1
vote
1
answer
242
views
In my PowerPoint VSTO Add-In (VisualBasic) Application.ActivePresentation returns an invalid presentation
I made an PowerPoint VSTO Add-In with VisualBasic in Visual Studio with which I want to be able to copy all slides of a presentation and paste them with their original formatting into my currently ...
1
vote
1
answer
4k
views
PowerPoint Add-In add html iFrame to slide
I want to create an Add-In where I can set an URL via textbox and by clicking the apply button the iframe gets added to a new slide at the end of the presentation. I could add an iFrame with content ...
0
votes
1
answer
242
views
Is it possible to create a new PowerPoint presentation using office-js in the same window?
I use PowerPoint.createPresentation(base64) method in order to create a presentation.
But it is opened in a new window (new tab for web, new instance of PP for desktop). Is it possible to open a ...
0
votes
1
answer
70
views
Changes form a master slide are not applied for web Powerpoint
I try to change a text in a shape on a master slide with code:
PowerPoint.run(function(context) {
var masterSlideShape = context.presentation.slideMasters.getItemAt(0).shapes.getItemAt(5);
...
1
vote
1
answer
813
views
PowerPoint JS API: insert an image and set the title at the same time
I am using Script Lab to build my add-in for PowerPoint on the web. I want to insert some images and encode extra information for each image in the title. The information I want to store depends on ...