File: SimpleMacro.vba

package info (click to toggle)
libapache-poi-java 4.0.1-6
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 198,996 kB
  • sloc: java: 386,440; xml: 65,903; makefile: 227; sh: 215; jsp: 85; ruby: 78; python: 46; cpp: 17
file content (14 lines) | stat: -rw-r--r-- 330 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
Sub TestMacro()
'
' TestMacro Macro
' This is a test macro
'

'
    With ActivePresentation.Slides(1).Shapes(1)
        .Title.TextFrame.TextRange.Text = "This is a macro slideshow"
    End With
    With ActivePresentation.Slides(1).Shapes(2)
        .Title.TextFrame.TextRange.Text = "subtitle"
    EndWith
End Sub