Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming,microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
This is either very easy or just can't be done.
I want the first worksheet in a workbook to display a list of the other worksheet's name. Within Sheet1 cell A5 should return the name of Sheet2 (as renamed on the tab) cell A6 should return the name of Sheet3 and so forth Any ideas would be very much appreciated. Thanks, Rick |
#2
![]()
Posted to microsoft.public.excel.programming,microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
dim Sh as worksheet, r as range
Set R = Range("A5") for each Sh in Sheets R.value = Sh.name set R = R.offset(1,0) next |
#3
![]()
Posted to microsoft.public.excel.programming,microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
If you want my macro to works fine with many books opened even when
selecting an other book you can specify the book replace "in Sheets" by "in ThisWorkBook.Sheets" or specifie a choosen book |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
How do I return a cell contents in a large worksheet? | Excel Worksheet Functions | |||
How to Copy a Cell from one worksheet and return | Excel Worksheet Functions | |||
How can I return cell grafics from one to another worksheet? | Charts and Charting in Excel | |||
I need to return the name of a worksheet in another worksheet cell? | Excel Worksheet Functions | |||
Return to previous worksheet after code pastes in another worksheet? | Excel Programming |