zoukankan      html  css  js  c++  java
  • 批量更改PPT中公式的背景色

    Sub 批量更改PPT中公式的背景色()
    Dim aSlide As Slide, aShape As Shape
    On Error Resume Next '忽略错误
        For Each aSlide In ActivePresentation.Slides '遍历幻灯片
            For Each aShape In aSlide.Shapes '遍历图层对象
                If aShape.Type = 7 Then '公式
                With aShape
                    .Fill.ForeColor.RGB = RGB(255, 255, 0)
                    .Fill.Visible = msoTrue
                    .Fill.Solid
                    .Fill.BackColor.RGB = vbYellow
                    .Fill.Transparency = 0#
                End With
                End If
            Next
        Next
    End Sub
  • 相关阅读:
    eclipse CreateProcess error=87
    排序与查找
    利用Excel导出sql语句
    Java 反射机制总结
    MySQL问题
    异常解决
    MySQL连接不上
    工作时总结
    笔记
    注意
  • 原文地址:https://www.cnblogs.com/wzshhynk/p/1623286.html
Copyright © 2011-2022 走看看