C
Cameron
Hi all,
Have the following code in my Workbook:
Private Sub Worksheet_Activate()
Dim X As Integer
For X = 2 To ActiveWorkbook.Worksheets.Count
Sheets(1).Cells(X + 8, 2).Value = ""
Sheets(1).Cells(X + 8, 2).Value = ActiveWorkbook.Worksheets(X).Name
Next
End Sub
And currently this results in the following from B10:B24 ...
Jan04-Feb04
Dec03-Jan04
Nov03-Dec03
Oct03-Nov03
Sep03-Oct03
Aug03-Sep03
Jul03-Aug03
Jun03-Jul03
May03-Jun03
Apr03-May03
Mar03-Apr03
Feb03-Mar03
Jan03-Feb03
Dec02-Jan03
Nov02-Dec02
I'd like to know if there is any way I can get away from the VBA and stick
with a formula instead.
Why ???
When ever I leave the page and come back it is incredibly slow to
refresh/update.
Cheers,
Cameron
Have the following code in my Workbook:
Private Sub Worksheet_Activate()
Dim X As Integer
For X = 2 To ActiveWorkbook.Worksheets.Count
Sheets(1).Cells(X + 8, 2).Value = ""
Sheets(1).Cells(X + 8, 2).Value = ActiveWorkbook.Worksheets(X).Name
Next
End Sub
And currently this results in the following from B10:B24 ...
Jan04-Feb04
Dec03-Jan04
Nov03-Dec03
Oct03-Nov03
Sep03-Oct03
Aug03-Sep03
Jul03-Aug03
Jun03-Jul03
May03-Jun03
Apr03-May03
Mar03-Apr03
Feb03-Mar03
Jan03-Feb03
Dec02-Jan03
Nov02-Dec02
I'd like to know if there is any way I can get away from the VBA and stick
with a formula instead.
Why ???
When ever I leave the page and come back it is incredibly slow to
refresh/update.
Cheers,
Cameron