All pastes #953428 Raw Edit

Untitled

public text v1 · immutable
#953428 ·published 2008-03-23 01:48 UTC
rendered paste body
Sub GetSheets()
    Dim j As Integer
    Dim NumSheets As Integer

    NumSheets = Sheets.Count
    For j = 1 To NumSheets
        Cells(j, 1) = Sheets(j).Name
    Next j
End Sub