您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

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