G
gordonjster
Hi,
I am sure this must be easy, but somehow I'm not "getting it" today.
How can I generate the names of the list objects on a worksheet?
This is close, except it gives me the count:
Sub test()
Dim i
Dim LObs
For i = 1 To Worksheets.Count
LObs = LObs + Worksheets(i).ListObjects.Count
Next i
MsgBox "There are " & LObs & " list objects in the workbook."
End Sub
I'd like to know the item names of the listobjects.
Thanks
I am sure this must be easy, but somehow I'm not "getting it" today.
How can I generate the names of the list objects on a worksheet?
This is close, except it gives me the count:
Sub test()
Dim i
Dim LObs
For i = 1 To Worksheets.Count
LObs = LObs + Worksheets(i).ListObjects.Count
Next i
MsgBox "There are " & LObs & " list objects in the workbook."
End Sub
I'd like to know the item names of the listobjects.
Thanks