Questions tagged [powerpoint-2010]

PowerPoint 2010 is the presentation graphics software in the Microsoft 2010 Office suite. With PowerPoint, you can use its easy-to-use predefined layouts, themes, and templates to create dynamic and professional presentations.

PowerPoint 2010 is the presentation graphics software in the Microsoft 2010 Office suite.

With PowerPoint, you can use its easy-to-use predefined layouts, themes, and templates to create dynamic and professional presentations.

142 questions
1
vote
1 answer

How to define title text and subtitle text in VBA for PowerPoint 2010

I have the following code (VBA for PowerPoint 2010) to create a slide at the end of a presentation and insert title text: longSlideCount = ActivePresentation.Slides.Count With ActivePresentation.Slides Set slideObject = .Add(longSlideCount + 1,…
HotDogCannon
  • 2,113
  • 11
  • 34
  • 53
1
vote
2 answers

How to resize a textbox in Visual Basic for Powerpoint 2010

I would like to know if there's a known way to 'fit' a text box (assuming the text does not wrap) in Visual Basic 2010. This could be somewhat equivalent to just defining a text box and letting the entered text define the width / height, like in…
1
vote
1 answer

How to format powerpoint text box in visual basic

I'm using Visual Basic in PowerPoint 2010 and I'm writing a script to import a set of pictures to a slide and create text boxes I'm having trouble formatting the text boxes correctly. How can I: set opaque white fill set bold black text set 2 pt…
HotDogCannon
  • 2,113
  • 11
  • 34
  • 53
1
vote
1 answer

Use Destination Theme & Embed Workbook (h)

I am trying to copy a ChartObject created in a workbook sheet and paste it into a powerpoint 2010 slide, such that it becomes a standalone Excel Chart with data (embedded). When i do it manually i.e : Copy ChartObject present in WorkSheet Goto…
sifar
  • 1,086
  • 1
  • 17
  • 43
1
vote
2 answers

Starting with a TextRange, how do I find the enclosing Shape?

Suppose I have a TextRange object, and I need to find the Shape that contains that TextRange. Normally, I can use the Parent property of the TextRange to get the TextFrame that contains it, and then use the Parent property again to get the…
Gary McGill
  • 26,400
  • 25
  • 118
  • 202
1
vote
3 answers

vba: powerpoint macro: "variable not set"

I'm getting a "Object variable or With block variable not set" error in my code. This is my first crack at macro writing. I do have programming knowledge but this is new to me. Anyway, I want to go through the presentation, and for every page that…
JoshDG
  • 3,871
  • 10
  • 51
  • 85
1
vote
2 answers

Need to set shape position in PowerPoint to the same value across all slides

I have dozens of PowerPoint shows that contain dozens of slides each. They are very basic in that there is only one shape on each slide and there is no animation being used on the shape or between slides. The issue is that the person who created…
N1tr0
  • 485
  • 2
  • 6
  • 24
1
vote
2 answers

Closing a powerpoint presentation

I have created some Office add-ins where I track whether or not a document/presentation is closed and then perform some custom code before closing the document/presentation. All this code works without any problems in the Word add-in, but in the…
1
vote
2 answers

Macro to convert equations into images in Powerpoint 2010

I am trying to preapre a macro that would convert all equations in a PowerPoint2010 presentation into images while retaining the position and animation effect/order. Based on the tip provided here (thanks to Steve Rindsberg), I have modified the…
Prasad
  • 13
  • 3
1
vote
0 answers

How to run all the subs on every slide in powerpoint 2010?

I am creating slides with combo-boxes. I get what I want when I run the codes of each slide individually in debug mode. I want to write a macro which will run all the subs on all the slides when I run the presentation? Should I use the Call…
1
vote
0 answers

Get Formatted PowerPoint 2010 Slide Notes

Using the following C# code I can get the raw text. What I need, however, is a way to get the formatting (bold, italics, etc) that goes along with the text. string noteText; for ( var i = 1; i <= mySlide.NotesPage.Shapes.Count; i++ ) { var…
madhatter160
  • 439
  • 5
  • 13
0
votes
0 answers

Execute hyperlink automatically

I have VBA code that I'm using in PowerPoint to execute hyperlink automatically, but it doesn't work and I cant seem to find what is happening, here is the code: Sub OnSlideShowPageChange(ByVal Wn As SlideShowWindow) ' This code runs when the…
M Ali
  • 1
0
votes
0 answers

When I change interactive sequences on the slide timeline in powerpoint during a slide show, the changes don't take effect until a slideshow restart

I'm new here, so please forgive any transgressions. I am writing some code which will copy a picture shape on a slide, move the copy to a new place on the slide and add some animations to the new picture which are triggered interactively by clicking…
0
votes
1 answer

Powerpoint VBA why does running a macro make the presentation start from the start again?

I have a presentation of only one slide with a number of animations. A shape is coupled to a macro that is supposed to change the text in another rectangular form. When I click the shape the text is changed but the change is only visible when the…
0
votes
1 answer

How to use a variable to name a Powerpoint slide using VBA rather than a literal string

I am trying to create a new slide and name it at the same time using VBA. I have a main menu page that contains shapes with text labels in them. I've set the action for each shape to run the following macro: It is intended to create a new slide…
NoWhizKid
  • 78
  • 1
  • 11