Clyde38
Electrical
- Oct 31, 2003
- 533
On occasion I have workbooks that will continue to have worksheets added to the workbook. I would like to have a formula to display on each sheet something like the following:
Sheet # X of X Sheets
I know that if I use a sub such as:
Public Sub CountMySheets()
MsgBox Application.Sheets.Count
End Sub
I can display a message with the number of sheets. I don’t want to display a message, I want to be able to have a cell on each sheet display this. Any ideas?
![[ponder] [ponder] [ponder]](/data/assets/smilies/ponder.gif)
Sheet # X of X Sheets
I know that if I use a sub such as:
Public Sub CountMySheets()
MsgBox Application.Sheets.Count
End Sub
I can display a message with the number of sheets. I don’t want to display a message, I want to be able to have a cell on each sheet display this. Any ideas?
![[ponder] [ponder] [ponder]](/data/assets/smilies/ponder.gif)