assuming one is visible at start, and the rest not visible or visa versa u can use this

VB Code:
  1. Private Sub Command1_Click()
  2.     Dim c As Control
  3.     For Each c In Me
  4.         If TypeOf c Is ListBox Then c.Visible = Not c.Visible
  5.     Next c
  6. End Sub