Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Creating list of sheet names


Thanks for your help guys.

I am looking for a macro to cycle through the sheets and on the firs
sheet create a list of all the sheet names from the file. Any ideas?
I started some code, but I can't seem to make it work.

Thanks again for your help.

Bret

--
trickdo
-----------------------------------------------------------------------
trickdos's Profile: http://www.excelforum.com/member.php...nfo&userid=940
View this thread: http://www.excelforum.com/showthread.php?threadid=26477

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Creating list of sheet names

Dim i as Long, sh as Object
i = 0
for each sh in sheets
i = i + 1
cells(i,1).Value = sh.name
Next

--
Regards,
Tom Ogilvy

"trickdos" wrote in message
...

Thanks for your help guys.

I am looking for a macro to cycle through the sheets and on the first
sheet create a list of all the sheet names from the file. Any ideas?
I started some code, but I can't seem to make it work.

Thanks again for your help.

Brett


--
trickdos
------------------------------------------------------------------------
trickdos's Profile:

http://www.excelforum.com/member.php...fo&userid=9405
View this thread: http://www.excelforum.com/showthread...hreadid=264774



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
-- Creating a list of names Joel Me Excel Discussion (Misc queries) 1 April 21st 08 05:12 PM
Creating a list of names The BriGuy[_2_] Excel Discussion (Misc queries) 2 September 10th 07 06:02 PM
Creating a list of names The BriGuy[_2_] Excel Discussion (Misc queries) 0 September 10th 07 05:52 PM
Creating list of names from specific value Wayne4js Excel Discussion (Misc queries) 1 December 14th 06 06:55 AM
Help creating list of Reoccuring names Alphabet Excel Discussion (Misc queries) 1 January 6th 06 11:38 AM


All times are GMT +1. The time now is 06:39 AM.

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"