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 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