Sorry.... Looking for it to list them in a column within Sheet 1, starting
in A1
> Sub allsheet()
> Dim w As Worksheet
[quoted text clipped - 9 lines]
> >
> > Help?!
Gord Dibben - 09 Nov 2006 20:48 GMT
Jeff
Sub ListSheets()
'list of sheet names starting at A1
Dim rng As Range
Dim i As Integer
Set rng = Sheets("Sheet1").Range("A1")
For Each Sheet In ActiveWorkbook.Sheets
rng.Offset(i, 0).Value = Sheet.Name
i = i + 1
Next Sheet
End Sub
Gord Dibben MS Excel MVP
>Sorry.... Looking for it to list them in a column within Sheet 1, starting
>in A1
[quoted text clipped - 12 lines]
>> >
>> > Help?!
JEFF - 09 Nov 2006 21:03 GMT
Perfect.... thank you
> Jeff
>
[quoted text clipped - 27 lines]
> >> >
> >> > Help?!
Gary''s Student - 09 Nov 2006 20:52 GMT
No problem:
Sub allsheet()
Dim w As Worksheet
i = 1
For Each w In ActiveWorkbook.Worksheets
Sheets("Sheet1").Cells(i, "A").Value = w.Name
i = i + 1
Next
End Sub

Signature
Gary's Student
> Sorry.... Looking for it to list them in a column within Sheet 1, starting
> in A1
[quoted text clipped - 12 lines]
> > >
> > > Help?!
JEFF - 09 Nov 2006 21:03 GMT
that works... thanks!
> No problem:
>
[quoted text clipped - 23 lines]
> > > >
> > > > Help?!