I just cometed code to tdo this exact thing for a log I'm keeping within a workbook with a number of tabs.
The code probably it's the most efficent but it works.
Option Explicit
Dim strName As String, strAddress As String
Dim sheet As Worksheet, k As Integer, j As Integer
Private Sub Workbook_Open()
Sheets("apptrack").Select
Range("C10").Select
Call list
Call KeyFont
End Sub
Sub list()
For Each sheet In ThisWorkbook.Worksheets
strName = sheet.Name
Sheets("apptrack").Activate
ActiveCell.Value = strName
ActiveCell.Offset(1, 0).Select
Call DateCheck
Sheets("apptrack").Activate
'I keep track of the number of tabs b/c I put the
'index in columns of 15
k = k + 1
Select Case k
Case 15
ActiveCell.Offset(-15, 3).Select
Case 16 To 29
GoTo MyLoop
Case 30
ActiveCell.Offset(-15, 3).Select
Case 31 To 44
GoTo MyLoop
Case 45
ActiveCell.Offset(-15, 3).Select
Case 46 To 59
GoTo MyLoop
Case 60
ActiveCell.Offset(-15, 3).Select
Case 61 To 74
GoTo MyLoop
Case 75
ActiveCell.Offset(-15, 3).Select
Case 76 To 89
GoTo MyLoop
Case 90
ActiveCell.Offset(-15, 3).Select
Case 91 To 104
GoTo MyLoop
Case 105
ActiveCell.Offset(-15, 3).Select
Case Is > 105
GoTo MyLoop
MyLoop:
End Select
If ActiveCell.Value = "Careerfest06" Then
End
End If
Next sheet
End Sub
Have a great day,
Brian
EggHeadCafe.com - .NET Developer Portal of Choice
http://www.eggheadcafe.com