如果我想填充PowerPoint的纯背景色,我需要什么代码?

问题描述 投票:0回答:1

Sub Hex

。背景

。BackColor

RGB = RGB(0,0,0)

结尾为

结束子

colors background powerpoint rgb
1个回答
0
投票

该代码的语法不正确。您有End With,但没有With

您可以使用以下宏更改幻灯片母版的背景:

ActivePresentation.SlideMaster.Background.Fill.ForeColor.RGB = RGB(0,0,0)

© www.soinside.com 2019 - 2024. All rights reserved.