Sign in with Microsoft
Sign in or create an account.
Hello,
Select a different account.
You have multiple accounts
Choose the account you want to sign in with.

適用對象

BoundObjectFrame 物件

FormatCondition 物件

Page 物件

CheckBox 物件

ListBox 物件

SubForm 物件

ComboBox 物件

ObjectFrame 物件

TabControl 集合物件

CommandButton 物件

OptionButton 物件

TextBox 物件

CustomControl 物件

OptionGroup 物件

ToggleButton 物件

您可以使用 Enabled 屬性來設定 FormatCondition 物件中的條件式格式,或傳回其狀態。 讀/寫布林值

expression.Enabled

運算式 必要。 傳回 [套用至] 清單中其中一個對象的表達式。

備註

Enabled 屬性設定是一個能夠指定條件式格式設定為啟用或停用的值。 True 會啟用條件式格式。 False 會停用條件式格式。 預設為 True

Enabled 屬性只能在使用 Visual Basic for Applications (VBA) 程式碼時取得。

Enabled 屬性為 True,[條件式格式設定] 對話方塊中就會顯示條件式格式。 您可以在 [設計] 索引標籤 ([設計檢視]) 或 [格式] 索引標籤 ([版面配置檢視]) 上,按一下 [字型] 底下的 [條件式],來取得 [條件式格式設定] 對話方塊。

Need more help?

Want more options?

探索訂閱權益、瀏覽訓練課程、瞭解如何保護您的裝置等等。

社群可協助您詢問並回答問題、提供意見反應,以及聆聽來自具有豐富知識的專家意見。

Was this information helpful?

How satisfied are you with the translation quality?
What affected your experience?
By pressing submit, your feedback will be used to improve Microsoft products and services. Your IT admin will be able to collect this data. Privacy Statement.

Thank you for your feedback!

×