title | keywords | f1_keywords | ms.prod | api_name | ms.assetid | ms.date | ||
---|---|---|---|---|---|---|---|---|
OptionGroup.Visible Property (Access) |
vbaac10.chm10827 |
|
access |
|
3af38a57-97bf-e427-acb5-ddc21678715a |
06/08/2017 |
Returns or sets whether the object is visible. Read/write Boolean.
expression. Visible
expression A variable that represents an OptionGroup object.
To hide an object when printing, use the DisplayWhen property.
You can use the Visible property to hide a control on a form or report by including the property in a macro or event procedure that runs when the Current event occurs. For example, you can show or hide a congratulatory message next to a salesperson's monthly sales total in a sales report, depending on the sales total.