Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Create worksheet index


Hi there,

Is there anyway I can user a macro to create an index of all the
worksheets in a workbook?

Ideally it'll create a worksheet at the front of my book listing the
names of the worksheets which follow in the same book?

Can anyone help please?


------------------------------------------------
~~ Message posted from http://www.ExcelTip.com/
~~View and post usenet messages directly from http://www.ExcelForum.com/

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 493
Default Create worksheet index

Take a look he

http://www.mvps.org/dmcritchie/excel/buildtoc.htm


In article ,
index wrote:

Hi there,

Is there anyway I can user a macro to create an index of all the
worksheets in a workbook?

Ideally it'll create a worksheet at the front of my book listing the
names of the worksheets which follow in the same book?

Can anyone help please?


------------------------------------------------
~~ Message posted from http://www.ExcelTip.com/
~~View and post usenet messages directly from http://www.ExcelForum.com/

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 57
Default Create worksheet index

Here's a quick and dirty that might get you started

'-----
Option Explicit
Sub makeIndex()
Dim shNum As Integer
Worksheets.Add befo=Sheets(1)
For shNum = 2 To Sheets.Count
Range("A" & shNum - 1).Value = Sheets(shNum).Name
Next
End Sub
'-----

HTH
Anders Silven

"index" skrev i meddelandet ...

Hi there,

Is there anyway I can user a macro to create an index of all the
worksheets in a workbook?

Ideally it'll create a worksheet at the front of my book listing the
names of the worksheets which follow in the same book?

Can anyone help please?


------------------------------------------------
~~ Message posted from http://www.ExcelTip.com/
~~View and post usenet messages directly from http://www.ExcelForum.com/

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Create worksheet index


Thanks for your hel

-----------------------------------------------
~~ Message posted from http://www.ExcelTip.com
~~View and post usenet messages directly from http://www.ExcelForum.com

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
how do i create an index for my book? piodds Excel Discussion (Misc queries) 3 January 4th 11 01:59 PM
Create Dependent Lists using an INDEX function?? Gemma New Users to Excel 1 January 10th 09 09:48 PM
How do I create an index or TOC for worksheets in an excel workboo Phil Ventresca Excel Discussion (Misc queries) 3 April 18th 07 02:09 PM
Can I create an index in an excel table? Korliss Excel Discussion (Misc queries) 0 May 4th 06 04:36 PM
hyperlinks to create an index Jason - MR Excel Discussion (Misc queries) 1 December 27th 05 10:49 PM


All times are GMT +1. The time now is 07:45 AM.

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

About Us

"It's about Microsoft Excel"