安全问答

安全问答是一个知识全球问答,包含丰富的问答知识

首页 常规 游戏 娱乐 科技 程序员

写VBA代码将PPT中所有文字的字体修改为微软雅黑

  • 日期: 2027-09-15
  • 标签: 科技

Sub ChangeFont() Dim sld As Slide Dim shp As Shape

For Each sld In ActivePresentation.Slides
    For Each shp In sld.Shapes
        If shp.HasTextFrame Then
            shp.TextFrame.TextRange.Font.Name = "微软雅黑"
        End If
    Next shp
Next sld

End Sub

写VBA代码将PPT中所有文字的字体修改为微软雅黑

原文地址: https://www.cveoy.top/t/topic/bsMD 著作权归作者所有。请勿转载和采集!

免费AI点我,无需注册和登录

  • 上一篇: 请用science杂志的语言风格润色以下段落:In this subsection the numerical results of the dynamic response of beams on fractional foundations under moving load are calculated The material parameters of the beam the mech
  • 下一篇: 请帮我总结《影响力》这本书的目录。

© 2019 • 2025 - 安全问答 站长邮箱:wxgpt@qq.com    ICP备案/许可证号:豫ICP备2024104334号-2