Hello,
Can anyone please provide code snippet to extract/get visible sheet names only. Below code snippet I use to list worksheet names in column A.
Many thanks in advance!
Can anyone please provide code snippet to extract/get visible sheet names only. Below code snippet I use to list worksheet names in column A.
Code:
Sub SheetNames()
'Columns(1).Insert
For i = 1 To Sheets.Count
Cells(i, 1) = Sheets(i).Name
Next i
End Sub
Many thanks in advance!