Workbook.InactiveListBorderVisible (Excel)

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

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


ActiveWorkbook.InactiveListBorderVisible = True