You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

SimpleMacro.vba 330B

1234567891011121314
  1. Sub TestMacro()
  2. '
  3. ' TestMacro Macro
  4. ' This is a test macro
  5. '
  6. '
  7. With ActivePresentation.Slides(1).Shapes(1)
  8. .Title.TextFrame.TextRange.Text = "This is a macro slideshow"
  9. End With
  10. With ActivePresentation.Slides(1).Shapes(2)
  11. .Title.TextFrame.TextRange.Text = "subtitle"
  12. EndWith
  13. End Sub