【发布时间】:2019-08-05 17:45:19
【问题描述】:
代码替换了我的字体大小。
Sub changeFont()
For Each aSlide In ActivePresentation.Slides
For Each aShape In aSlide.Shapes
If aShape.Type = msoTextBox Then
If aShape.TextFrame.HasText Then
If aShape.TextFrame.TextRange.Font.Name = "Franklin Gothic Demi" Then
If aShape.TextFrame.TextRange.Font.Size = 40 Then
aShape.TextFrame.TextRange.Font.Size = Replace(aShape.TextFrame.TextRange.Font.Size, 40, 25)
End If
End If
End If
End If
Next
Next
End Sub
除此之外,我需要将我的文本框对齐到:
.Top=23
.Left=44
.Height=44
如何定位我的文本支架?
【问题讨论】:
标签: vba powerpoint