用CECOLOR系统变量将颜色设置为当前的
 
 

This example sets the color Red current with the CECOLOR system variable.

本例使用 CECOLOR 系统变量设置红色为当前颜色。

VB.NET

Application.SetSystemVariable("CECOLOR", "1")

C#

Application.SetSystemVariable("CECOLOR", "1");
VBA/ActiveX 代码参考