選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

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