A
Andrew
I am attempting to create an automated flashcard from data contained in an
embedded spreadsheet. If possible, the presentation should have one slide.
Data displayed on the slide should be a WordArt formatted term updated
automatically (randomly selection) from one of the values in column A of the
spreadsheet after a 5-second delay. This should be done while the slideshow
is running and for as many times as there are values in column A (covering
each value once).
I believe something like this should work but am not sure of the details:
Sub studyGuide()
For Each goi In embededspreadsheet.Column("A") 'randomized if possible
Set myDocument = ActivePresentation.Slides(1)
myDocument.shapes.AddTextEffect(msoTextEffect2, goi.Text, "Impact", _
182#, msoFalse, msoFalse, 0, 0).Select
With Application.ActivePresentation.PageSetup
.SlideWidth = myDocument.shapes(2).Width
.SlideHeight = myDocument.shapes(2).Height
End With
'delay 5 seconds
myDocument.shapes(2).Delete
Next goi
End Sub
Any assistance in the right direction would be greatly appreciated. If this
is not the correct forum, a please direct me to the correct one.
Thanks,
embedded spreadsheet. If possible, the presentation should have one slide.
Data displayed on the slide should be a WordArt formatted term updated
automatically (randomly selection) from one of the values in column A of the
spreadsheet after a 5-second delay. This should be done while the slideshow
is running and for as many times as there are values in column A (covering
each value once).
I believe something like this should work but am not sure of the details:
Sub studyGuide()
For Each goi In embededspreadsheet.Column("A") 'randomized if possible
Set myDocument = ActivePresentation.Slides(1)
myDocument.shapes.AddTextEffect(msoTextEffect2, goi.Text, "Impact", _
182#, msoFalse, msoFalse, 0, 0).Select
With Application.ActivePresentation.PageSetup
.SlideWidth = myDocument.shapes(2).Width
.SlideHeight = myDocument.shapes(2).Height
End With
'delay 5 seconds
myDocument.shapes(2).Delete
Next goi
End Sub
Any assistance in the right direction would be greatly appreciated. If this
is not the correct forum, a please direct me to the correct one.
Thanks,