LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 36
Default Slecting worksheets one by one.....possible?

Hi All,

I'm assuming this is possible but I can't find anything in the help file.

I have roughly 30 sheets and a "totals" sheet. I want to select the first
sheet in the workbook and copy some data from it to the totals sheet, and
so on from the 30 odd sheets I have.

The problem that I'm having is the sheets all have different names and the
vba sheet numbers are never in a pattern.

Example; in the vb editor my sheets are listed in this fashion.

Sheet2(under12s)
Sheet4(under15s)
Sheet5(under18s)
Sheet12(under5s)
Sheet15(totals)

What I want to do is select the first in the list (Sheet2) and copy some
data to the totals sheet, then the next (Sheet4) then the next (Sheet5) and
so on.

Is there a way to do this without having to name every sheet in vba?

Ron
 
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
slecting all entries to appear once ron Excel Worksheet Functions 1 March 21st 09 12:26 PM
slecting all entries to appear once Resi Excel Worksheet Functions 7 March 12th 09 09:53 PM
How use info in Excel shared worksheets to create new worksheets dkc Excel Worksheet Functions 0 June 28th 07 08:36 PM
How do i assign the ActiveWorkbook.Worksheets to a worksheets object? TS Excel Worksheet Functions 2 December 27th 06 02:49 PM
Need code to protect worksheets - amount of worksheets varies Sandy[_3_] Excel Programming 1 September 9th 03 02:17 AM


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