Visual Basic for Applications (VBA) in Microsoft PowerPoint
0
votes
0answers
8 views
Using vba with powerpoint photo album addin
I am trying to automate the PowerPoint Photo Album addin with vba. I am running the macro from excel, from where I want to supply the filepath, and I also need to change the album layout. Other than ...
0
votes
1answer
16 views
Updating MS Power Point linked object such as chart or Excel sheet
I have a ppt which is generated every week. I have created a vbscript for updating the linked chart.. but i couldn't find how to identify the excel sheet which i have used for creating the table in ...
0
votes
0answers
12 views
use ffmpeg in vba to change video format
I want to change the video format of the embedded videos that appears in a presentation. I achieve to export the video file to another folder using the following code:
Dim Finame As Variant
...
1
vote
2answers
29 views
Is there a way to disable CommandBar Controls in Powerpoint VBA?
I have a PPT Add-In which may fail if a certain ViewType is not maintained.
I do not see any PPTEvent which I could trap the change and prevent it (although, if this is possible, please advise!). ...
0
votes
1answer
12 views
vba code works well in 'Normal' view but dosen't work in 'slideshow' in powerpoint 2003
I have a presentation with 6 slides. Slide 5 contains vba / macro codes for rotatechart, change angle etc., The codes work well thru' vba editor 'RUN'in active document.(.ppt) but when put in ...
-1
votes
0answers
22 views
How to import images from a folder on daily basis?
i would like to ask a question. I found similar answers but not so specialized to my needs.
I have a ppt file created on Powerpoint 2007. I want to build a macro that can do the following:
Import ...
0
votes
0answers
13 views
Autofit DataLabels in Powerpoint Chart
I am using Powerpoint 2010.
I am aware of limitations around sizing datalabels, which cannot be done either programmatically or via the UI.
I am curiosu why there exists an AutoFit option in the UI, ...
0
votes
1answer
25 views
Export Video from powerpoint using VBA
I want to export a video from powerpoint using VBA. This video was uploaded from the PC and not using links. I saw that this is possible for the images using this line of code:
...
0
votes
1answer
18 views
resize an image stored in a folder
I want to take an image from a folder resize it and store it in the same location with the same name. I saw a lot of examples of how to take an image, resize it and put it inside powerpoint slide but ...
1
vote
1answer
39 views
Unable to Group some shapes in Powerpoint 2010
I am having some difficulty using the .Group method on a ShapeRange.
For example, I am not able to Group a table with a textbox, nor am I able to group the slide's title shape with a textbox, etc. I ...
0
votes
1answer
46 views
Use VBA to change the internal margin and/or number format of a PowerPoint table cell
I have a VBA loop that cycles through the selected cells of a PowerPoint table to update the formatting. The following lines work great:
With ...
1
vote
1answer
64 views
When to use TextFrame or TextFrame2 in VBA
Example, in Powerpoint:
The TextFrame object:
Represents the text frame in a Shape object. Contains the text in the
text frame and the properties and methods that control the alignment
and ...
2
votes
2answers
30 views
How can I get the SlideIndex of a visible Slide in Powerpoint when SelectionType = ppSelectionNone
I have some code that requires me to know what SlideIndex to operate on (e.g., where to insert a new slide, where to insert a ChartObject, etc.). About 99% of the time, I can successfully obtain the ...
0
votes
1answer
43 views
Update PowerPoint pictures using VBA
My day to day work involves creating powerpoints for clients highlighting their campaign performance. Most of the charts have been linked to excel, which saves me a ton of time but I end up spending ...
0
votes
0answers
21 views
How can I stop PowerPoint listboxes from relocating on the slide in presentation mode?
I have a slide with a collection of list boxes|textbox pairs on it. The basic idea is that you click on an item in a listbox and the associated notes appear in the corresponding textbox.
It all ...