Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

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