I have the following code, thanks to Jim Thomlinson, problem is it is only
picking up worksheets, I would like it to also list chartsheets as well.
Help need to change code to do this.
Private Sub Worksheet_Activate()
Dim rngToUpdate As Range
Dim wks As Worksheet
Set rngToUpdate = Range("F5")
Application.ScreenUpdating = False
For Each wks In Worksheets
rngToUpdate = wks.Name
Set rngToUpdate = rngToUpdate.Offset(1, 0)
Next wks
Application.ScreenUpdating = True
Set rngToUpdate = Nothing
End Sub
Thanks, Blue
Bookmarks