Specifies whether an object is visible or hidden.
Syntax
object.Visible [= Boolean]
The Visible property syntax has these parts:
| Part | Description |
|---|---|
| object | Required. A valid object. |
| Boolean | Optional. Whether the object is visible or hidden. |
Settings
The settings for Boolean are:
| Value | Description |
|---|---|
| True | Object is visible (default). |
| False | Object is hidden. |
Remarks
Use the Visible property to control access to information without displaying it. For example, you could use the value of a control on a hidden form as the criteria for a query.
All controls are visible at design time.