Workbook.InactiveListBorderVisible property (Excel)

A Boolean value that specifies whether list borders are visible when a list is not active. Returns True if the border is visible. Read/write Boolean.

Syntax

expression.InactiveListBorderVisible

expression A variable that represents a Workbook object.

Remarks

Setting this property affects all the lists that are on the worksheet.

Example

The following example hides the borders of inactive lists in the workbook.

Sub HideListBorders() 
 
 ActiveWorkbook.InactiveListBorderVisible = False 
 
End Sub

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.