View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
Don Guillett Don Guillett is offline
external usenet poster
 
Posts: 10,124
Default Dynamic list based on sheet names


If desired, send your workbook to my address below and I will take a look.

--
Don Guillett
Microsoft MVP Excel
SalesAid Software

"sgltaylor" wrote in message
...
Hi,

Any help with the following would be appreciated.

I have a workbook with 15 worksheets.
Worksheet 1 is called "Summary".
Worksheet 2 is called "A".
Worksheets 3 to 15 are named "Jan to Dec" respectively.
Worksheet 15 is called "B".

The names of the worksheets between the "A" and "B" worksheets
are listed on the "Summary" worksheet in cell C2 down. I need to make
this list dynamic. For example, when the user moves the "B" worksheet
in-between the worksheet called "Jun" and the worksheet called "Jul",
I need the list on the "Summary" worksheet to update to show only
the months Jan to Jun. This is assuming the "A" worksheet is to the
left of the "Jan" worksheet.

Should the user move the "A" worksheet in-between the "Jan" and
"Feb" worksheets and the "B" worksheet between the "April" and May"
worksheets, the list on the "Summary" worksheet should be updated
to show "Feb" to "April" etc.

Any ideas?

Thanks,

Steve