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

SimpleMacro.vba 199B

123456789101112
  1. Sub TestMacro()
  2. '
  3. ' TestMacro Macro
  4. ' This is a test macro
  5. '
  6. '
  7. With ActiveDocument.Pages(1).Shapes(1)
  8. .Text = "This is a macro vector graphics drawing"
  9. End With
  10. End Sub