Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4
Default insert the name of sheets inti a column A

I have a wbook with many sheets named from 0000 to 9999 (for example
0000, 4300, 4500, 7200...ecc...).
I would want to insert the name of each sheets into the column A of the
sheet LISTA (start the copy name from A3)present into same wbook.
Note: into wbook are present sheets TEST1, TEST2 and TEST3 for thsi
sheets not is important to insert the name into sheet LISTA.




*** Sent via Developersdex http://www.developersdex.com ***
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,272
Default insert the name of sheets inti a column A


i = 3
For Each sh In Activeworkbook.Sheets
If sh.Name < "LISTA" Then
Cells(i,"A").Value = sh.Name
i = i + 1
End If
Next sh

--

HTH

RP
(remove nothere from the email address if mailing direct)


"sal21 sal21" wrote in message
...
I have a wbook with many sheets named from 0000 to 9999 (for example
0000, 4300, 4500, 7200...ecc...).
I would want to insert the name of each sheets into the column A of the
sheet LISTA (start the copy name from A3)present into same wbook.
Note: into wbook are present sheets TEST1, TEST2 and TEST3 for thsi
sheets not is important to insert the name into sheet LISTA.




*** Sent via Developersdex http://www.developersdex.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
Insert row on multiple sheets aussiegirlone Excel Discussion (Misc queries) 0 July 16th 09 04:01 AM
Insert several Sheets juanpablo Excel Discussion (Misc queries) 4 August 29th 08 03:13 AM
insert row / insert column command buttons fairgreen Excel Worksheet Functions 1 October 29th 07 02:41 PM
How many sheets can i insert??? e_mlm_m Excel Discussion (Misc queries) 2 December 16th 05 04:27 PM
Insert the same value in other sheets Pat Excel Programming 11 February 4th 05 08:22 PM


All times are GMT +1. The time now is 03:52 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"