--- /dev/null
+Sub TestMacro()\r
+'\r
+' TestMacro Macro\r
+' This is a test macro\r
+'\r
+\r
+'\r
+ With ActiveDocument.Pages(1).Shapes(1)\r
+ .Text = "This is a macro vector graphics drawing"\r
+ End With\r
+End Sub\r
+\r
--- /dev/null
+Sub TestMacro()\r
+'\r
+' TestMacro Macro\r
+' This is a test macro\r
+'\r
+\r
+'\r
+ ActiveDocument.Paragraphs(1).Range.Text = "This is a macro word processing document"\r
+End Sub\r
+\r
--- /dev/null
+Sub TestMacro()\r
+'\r
+' TestMacro Macro\r
+' This is a test macro\r
+'\r
+\r
+'\r
+ With ActivePresentation.Slides(1).Shapes(1)\r
+ .Title.TextFrame.TextRange.Text = "This is a macro slideshow"\r
+ End With\r
+ With ActivePresentation.Slides(1).Shapes(2)\r
+ .Title.TextFrame.TextRange.Text = "subtitle"\r
+ EndWith\r
+End Sub\r