我有以下代码(VBA for 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"
我想知道如何:
- 插入“副标题”文本(较小的字体,在主标题文本下方的新行上)
- 更改主标题文本和副标题文本的字体和大小
提前致谢!!!