Visible property (Microsoft Forms)

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.

See also

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.