Change font in a textbox object to small caps - PowerPoint 2013

江枫思渺然 提交于 2019-12-12 04:35:45

问题


I can't find anywhere on the internet how to change the font of a textbox to small caps. I've tried many variations of the failing line but can't get it to work. Can someone help?

With objPPTTextbox.TextFrame.TextRange
    .Text = "Title"
    .Font.Size = 14
    .Font2.Smallcaps = msoTrue  ---Fails here!---
    .Font.Name = "Calibri"
    .ParagraphFormat.Alignment = 2
End With

回答1:


Here is the answer thanks to this website

objPPTTextbox.TextFrame2.TextRange.Font.Smallcaps = msoTrue


来源:https://stackoverflow.com/questions/45217519/change-font-in-a-textbox-object-to-small-caps-powerpoint-2013

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!