1
我有以下代碼(VBA對PowerPoint 2010中)來創建在演示結束幻燈片,然後插入標題文本:如何定義標題文字和字幕文本VBA爲PowerPoint 2010中
longSlideCount = ActivePresentation.Slides.Count
With ActivePresentation.Slides
Set slideObject = .Add(longSlideCount + 1, ppLayoutTitleOnly)
End With
slideObject.Shapes.Title.TextFrame.TextRange.Text = "This is the Main Title Text"
我想知道如何:
- 插入「副標題」文本(較小的字體,在新的一行在緊鄰主標題文字下方)
- 更改字體和主標題文本的大小和字幕文本
在此先感謝!
謝謝歐萊!這工作非常好! – HotDogCannon