FormatConditions 对象 (访问)FormatConditions object (Access)

FormatConditions 集合表示为组合框或文本框控件的条件格式的集合。The FormatConditions collection represents the collection of conditional formats for a combo box or text box control. 每种格式表示的 操作符 对象。Each format is represented by a FormatCondition object.


在 Visual Basic 中或在表达式中使用组合框或文本框中的 FormatConditions 属性返回一个 FormatConditions 集合。Use the FormatConditions property of a combo box or text box in Visual Basic or in an expression to return a FormatConditions collection. 使用Add方法创建新的条件格式, 并使用**Modify** 方法更改现有的条件格式。Use the Add method to create a new conditional format, and use the Modify method to change an existing conditional format.

您可以使用 修改 要更改的格式,或 删除 一个方法 若要删除格式的方法。You can use the Modify method to change one of the formats, or the Delete method to delete a format.



另请参阅See also

支持和反馈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.