FormatConditions 属性 (权限)ComboBox.FormatConditions property (Access)

可以使用 FormatConditions 属性来返回到 FormatConditions 集合及其相关的属性的只读引用。You can use the FormatConditions property to return a read-only reference to the FormatConditions collection and its related properties.



_表达式_一个代表**ComboBox** 对象的变量。expression A variable that represents a ComboBox object.


下面的示例设置了Textbox1控件的现有条件格式的格式属性。The following example sets format properties for an existing conditional format for the Textbox1 control.

With Forms("forms1").Controls("Textbox1").FormatConditions(1) 
 .BackColor = RGB(255,255,255) 
 .FontBold = True 
 .ForeColor = RGB(255,0,0) 
End With

支持和反馈Support and feedback

有关于 Office VBA 或本文档的疑问或反馈?Have questions or feedback about Office VBA or this documentation? 请参阅 Office VBA 支持和反馈,获取有关如何接收支持和提供反馈的指南。Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.