Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
tthe
 
Posts: n/a
Default how do i list the name off all my worksheets on a sheet

i want to list all the worksheets in a particular workbook on a worksheet
that i have named Master. Can someone hlep me on this please ?
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Biff
 
Posts: n/a
Default how do i list the name off all my worksheets on a sheet

See reply in .Misc

Biff

"tthe" wrote in message
...
i want to list all the worksheets in a particular workbook on a worksheet
that i have named Master. Can someone hlep me on this please ?



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
tthe
 
Posts: n/a
Default how do i list the name off all my worksheets on a sheet

sorry Biff. I'm new to this, where is .Misc??

"Biff" wrote:

See reply in .Misc

Biff

"tthe" wrote in message
...
i want to list all the worksheets in a particular workbook on a worksheet
that i have named Master. Can someone hlep me on this please ?




  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Biff
 
Posts: n/a
Default how do i list the name off all my worksheets on a sheet

Hi!

I see that you're using the MS web interface.

In that interface in the EXCEL group it's called GENERAL QUESTIONS.

Biff

"tthe" wrote in message
...
sorry Biff. I'm new to this, where is .Misc??

"Biff" wrote:

See reply in .Misc

Biff

"tthe" wrote in message
...
i want to list all the worksheets in a particular workbook on a
worksheet
that i have named Master. Can someone hlep me on this please ?






  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Max
 
Posts: n/a
Default how do i list the name off all my worksheets on a sheet

Here's one response which was posted to your other post in .misc a little
earlier (Kindly refrain from multi-posting)
-----------------------

"tthe" wrote
is there a way of listing all my worksheets
on a master worksheet?


Another option, try the sub below:

Steps
--------
Press Alt+F11 to go to VBE
Click Insert Module
Copy paste everything within the dotted lines below
into the whitespace on the right

-------begin vba-----
Sub SheetNames()
'Peo Sjoblom in .worksheet.functions Jul '02
Dim wkSht As Worksheet
Range("A1").Select
For Each wkSht In Worksheets
Selection = wkSht.Name
ActiveCell.Offset(rowOffset:=1, columnOffset:=0).Activate
Next wkSht
End Sub
-------endvba------

Press Alt+Q to get back to Excel

In a *new* sheet, press Alt+F8
Select "SheetNames" Run

The sheetnames will be listed in A1 down, in this sequence:

1st sheet (leftmost) will be listed in A1,
2nd sheet in A2, and so on

Hidden sheets will also be listed
and will appear after the last (rightmost) sheet
--
Rgds
Max
xl 97
---
Singapore, GMT+8
xdemechanik
http://savefile.com/projects/236895
--




  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Skin
 
Posts: n/a
Default how do i list the name off all my worksheets on a sheet

Hi One Way Open a new module in VBA Type this macro or copy and paste into
module. Close and return to excel
Caveat: The workbook must be the active workbook.
Select the sheet you want in the active workbook, the sheet names, select a
cell where you want the first sheets name to appear, go to Tools Macros
select NameSheets run

Sub NameSheets()
Dim SheetNames() As String
Dim i As Integer
Dim SheetCount As Integer
SheetCount = ActiveWorkbook.Sheets.Count
ReDim SheetNames(1 To SheetCount)
For i = 1 To SheetCount
SheetNames(i) = ActiveWorkbook.Sheets(i).Name
ActiveCell.Offset(1, 0).Range("A1").Select
ActiveCell.FormulaR1C1 = SheetNames(i)
Next i
End Sub

Paul, any probs repost

On 17/11/05 4:51 PM, in article
, "tthe"
wrote:

sorry Biff. I'm new to this, where is .Misc??

"Biff" wrote:

See reply in .Misc

Biff

"tthe" wrote in message
...
i want to list all the worksheets in a particular workbook on a worksheet
that i have named Master. Can someone hlep me on this please ?





  #7   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Arvi Laanemets
 
Posts: n/a
Default how do i list the name off all my worksheets on a sheet

Hi

You can try a couple of UDF's

Public Function CurrentTab(Optional MyTime As Date)
' returns the name of current sheet, use DATE() or NOW() as optional
parameter to make the function to recalculate automatically
CurrentTab = Range("A1").Worksheet.Name
End Function

Public Function TabI(TabIndex As Integer, Optional MyTime As Date) As String
' returns the name of n-th sheet in workbook, use TODAY() or NOW() as
optional parameter to make the function to recalculate automatically
TabI = Sheets(TabIndex).Name
End Function


An example how to use the function TABI to return the list of worksheets
=IF(ISERROR(TABI(ROW(B1,TODAY()))),"",TABI(ROW(B1) ))
, and copy the formula down for some number of rows


--
Arvi Laanemets
( My real mail address: arvil<attarkon.ee )


"tthe" wrote in message
...
i want to list all the worksheets in a particular workbook on a worksheet
that i have named Master. Can someone hlep me on this please ?



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
One line of list show up in different sheet liseladele Excel Worksheet Functions 5 November 17th 05 07:24 AM
Moved data to new sheet based on list selection scronk Excel Worksheet Functions 1 October 18th 05 08:08 AM
Formula checking multiple worksheets sonic-the-mouse Excel Worksheet Functions 2 June 5th 05 07:48 PM
view list of worksheets contained within a workbook michael Excel Worksheet Functions 3 May 9th 05 09:31 PM
adding data from one sheet to another sheet as a dropdown list bo. gatorguy Excel Discussion (Misc queries) 1 February 18th 05 10:51 PM


All times are GMT +1. The time now is 05:42 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"