![]() |
![]() |
|
|||||||
| Excel Questions All Excel/VBA questions - formulas, macros, pivot tables, general help, etc. Please post to this forum in English only. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
New Member
Join Date: Apr 2002
Posts: 2
|
I need to grab the names of each tab and post them on a worksheet
|
|
|
|
|
|
#2 |
|
Banned
Join Date: Feb 2002
Posts: 1,582
|
Hi John
Try this Code:
Sub ListAllSheets()
Dim i As Integer
For i = 1 To Sheets.Count 'Includes chart sheets
Sheets(1).Cells(i, 1) = Sheets(i).Name
Next i
End Sub
|
|
|
|
|
|
#3 |
|
Board Regular
Join Date: Mar 2002
Posts: 363
|
Try this:
=MID(CELL("filename"),FIND("]",D582,1)+1,1000)
__________________
It's never too late to learn something new. Ricky |
|
|
|
|
|
#4 |
|
Board Regular
Join Date: Feb 2002
Location: Tulsa, OK
Posts: 354
|
|
|
|
|
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|