ComboBox.FormatConditions 屬性 (Access)

使用 FormatConditions 屬性可傳回 FormatConditions 集合及其相關屬性的唯讀參考。

語法

運算式FormatConditions

表達 代表 ComboBox 物件的變數。

範例

下列範例會設定 Textbox1 控制項之現有條件式格式的格式屬性。

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

支援和意見反應

有關於 Office VBA 或這份文件的問題或意見反應嗎? 如需取得支援服務並提供意見反應的相關指導,請參閱 Office VBA 支援與意見反應