WebBrowserControl.Visible property (Access)

Returns or sets whether the object is visible. Read/write Boolean.

Syntax

expression.Visible

expression A variable that represents a WebBrowserControl object.

Remarks

To hide an object when printing, use the DisplayWhen property.

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.

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.