J
Jimmy
I am currently within an MS Office application and I have calculated
many text items assigned to string variables in VBA.
What I want to do is wake up PowerPoint and place these text items as
bullets on a slide. I also want to be able to specify the slide title block.
Here is what I have so far. It wakes up PPT and makes a slide for me. Now,
I want to add text to this new slide:
Public Sub MakeSlide() 'from VBA window
Dim ppt As Object
Dim pptPres As Presentation
Dim pptSlide As Slide
Set ppt = New PowerPoint.Application
Set pptPres = ppt.Presentations.Add(True)
pptPres.Slides.Add 1, ppLayoutText 'Adds slide #1
Set pptSlide = pptPres.Slides.Item(1)
With pptslide
'What goes here????
' I need a title for my slide, let's call it myTitle
'I need to add bullets: Bullet1, Bullet2, Bullet3, etc.
End With
ppt.Visible = True
End Sub
Thank you in advance for you assistance.
many text items assigned to string variables in VBA.
What I want to do is wake up PowerPoint and place these text items as
bullets on a slide. I also want to be able to specify the slide title block.
Here is what I have so far. It wakes up PPT and makes a slide for me. Now,
I want to add text to this new slide:
Public Sub MakeSlide() 'from VBA window
Dim ppt As Object
Dim pptPres As Presentation
Dim pptSlide As Slide
Set ppt = New PowerPoint.Application
Set pptPres = ppt.Presentations.Add(True)
pptPres.Slides.Add 1, ppLayoutText 'Adds slide #1
Set pptSlide = pptPres.Slides.Item(1)
With pptslide
'What goes here????
' I need a title for my slide, let's call it myTitle
'I need to add bullets: Bullet1, Bullet2, Bullet3, etc.
End With
ppt.Visible = True
End Sub
Thank you in advance for you assistance.