Private Sub
Private Sub
Application.ScreenUpdating = False
Dim i As Long
Dim x As Long
Dim sh As Worksheet
Set sh = Worksheets(ComboBox1.Value)
sht.Cells.Clear
sh.AutoFilter.Range.Copy sht.Range("A1")
Application.CutCopyMode = False
Me.ListBox1.ColumnCount = 8
Me.ListBox1.ColumnWidths = "30,150,60,40,40,40,60,40"
If x > 1 Then
Me.ListBox1.Selected(0) = True
Else
End If
sh.AutoFilterMode = False
Application.ScreenUpdating = True
End Sub
Dim ws As Worksheet
Me.ComboBox1.AddItem ws.Name
End If
Next ws
End Sub