Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 7
Default Creating Sheets from a List

I was wondering if there is any way to create a new tab for a list of cells?
For instance, I have a list of people (88) for who I need to create
individual tabs in the same workbook so that I can paste separate information
onto each of their tabs. Is there anyway, besides manually creating 88 new
tabs, to do this?
  #2   Report Post  
Posted to microsoft.public.excel.misc
CLR CLR is offline
external usenet poster
 
Posts: 1,998
Default Creating Sheets from a List

Hi Mike........
Are you absolutely sure this is the route you wish to take? This
configuration will be fairly difficult to administer. It's usually much
better to put all the information in a single database and then Autofilter
out reports for the individuals as needed. It depends of course on exactly
what you are doing. Consider this method, and if you choose to do it and
need help, just post back with more details....what you have, and what you
want as output.

hth
Vaya con Dios,
Chuck, CABGx3



"Mike Armstrong" wrote:

I was wondering if there is any way to create a new tab for a list of cells?
For instance, I have a list of people (88) for who I need to create
individual tabs in the same workbook so that I can paste separate information
onto each of their tabs. Is there anyway, besides manually creating 88 new
tabs, to do this?

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 7
Default Creating Sheets from a List

CLR,

It's for one of my clients. Not really sure their reasoning behind it, but
this is what they want to do. They basically want to take the list of names
that they have and create a new worksheet for each of the names so that they
can put information about each user on their own sheet, instead of having all
the info on one sheet.

"CLR" wrote:

Hi Mike........
Are you absolutely sure this is the route you wish to take? This
configuration will be fairly difficult to administer. It's usually much
better to put all the information in a single database and then Autofilter
out reports for the individuals as needed. It depends of course on exactly
what you are doing. Consider this method, and if you choose to do it and
need help, just post back with more details....what you have, and what you
want as output.

hth
Vaya con Dios,
Chuck, CABGx3



"Mike Armstrong" wrote:

I was wondering if there is any way to create a new tab for a list of cells?
For instance, I have a list of people (88) for who I need to create
individual tabs in the same workbook so that I can paste separate information
onto each of their tabs. Is there anyway, besides manually creating 88 new
tabs, to do this?

  #4   Report Post  
Posted to microsoft.public.excel.misc
Max Max is offline
external usenet poster
 
Posts: 9,221
Default Creating Sheets from a List

Assuming the list of 88 is in Sheet2's A1:A88,
try this sub, taken from a previous post by Gord Dibben ..

Sub Add_NameWS()
'Add and name sheets using list in A1:A88 in Sheet2
For i = 1 To 88
Worksheets.Add.Name = Worksheets("Sheet2").Cells(i, 1).Value
Next
End Sub

--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
"Mike Armstrong" wrote:
I was wondering if there is any way to create a new tab for a list of cells?
For instance, I have a list of people (88) for who I need to create
individual tabs in the same workbook so that I can paste separate information
onto each of their tabs. Is there anyway, besides manually creating 88 new
tabs, to do this?

  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 7
Default Creating Sheets from a List

Max,

It errors out at the Worksheets.Add.Name = Worksheets("Sheet2").Cells(i,
1).Value line with a subscript out of range error message

"Max" wrote:

Assuming the list of 88 is in Sheet2's A1:A88,
try this sub, taken from a previous post by Gord Dibben ..

Sub Add_NameWS()
'Add and name sheets using list in A1:A88 in Sheet2
For i = 1 To 88
Worksheets.Add.Name = Worksheets("Sheet2").Cells(i, 1).Value
Next
End Sub

--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
"Mike Armstrong" wrote:
I was wondering if there is any way to create a new tab for a list of cells?
For instance, I have a list of people (88) for who I need to create
individual tabs in the same workbook so that I can paste separate information
onto each of their tabs. Is there anyway, besides manually creating 88 new
tabs, to do this?



  #6   Report Post  
Posted to microsoft.public.excel.misc
Max Max is offline
external usenet poster
 
Posts: 9,221
Default Creating Sheets from a List

It runs fine when tested here prior to posting

Pl ensure that the source list is really in a sheet named as: Sheet2
as per assumption stated

And in case it could be a line break problem
when you copy pasted the earlier sub,
here's another version w/o the line break to try:

Sub Add_NameWS()
'Add and name sheets using
' list in A1:A88 in Sheet2
For i = 1 To 88
Worksheets.Add.Name = _
Worksheets("Sheet2").Cells(i, 1).Value
Next
End Sub


Try it again, Mike ..
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
"Mike Armstrong" wrote:
Max,

It errors out at the Worksheets.Add.Name = Worksheets("Sheet2").Cells(i,
1).Value line with a subscript out of range error message


  #7   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 7
Default Creating Sheets from a List

My bad Max...I missed the part where you had thrown the list into Sheet2
instead of sheet1. This works just fine. Thanks

"Max" wrote:

It runs fine when tested here prior to posting

Pl ensure that the source list is really in a sheet named as: Sheet2
as per assumption stated

And in case it could be a line break problem
when you copy pasted the earlier sub,
here's another version w/o the line break to try:

Sub Add_NameWS()
'Add and name sheets using
' list in A1:A88 in Sheet2
For i = 1 To 88
Worksheets.Add.Name = _
Worksheets("Sheet2").Cells(i, 1).Value
Next
End Sub


Try it again, Mike ..
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
"Mike Armstrong" wrote:
Max,

It errors out at the Worksheets.Add.Name = Worksheets("Sheet2").Cells(i,
1).Value line with a subscript out of range error message


  #8   Report Post  
Posted to microsoft.public.excel.misc
Max Max is offline
external usenet poster
 
Posts: 9,221
Default Creating Sheets from a List

No prob. Glad you got it working there.
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
"Mike Armstrong" wrote in message
...
My bad Max...I missed the part where you had thrown the list into Sheet2
instead of sheet1. This works just fine. Thanks



  #9   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default Creating Sheets from a List

Max used Sheet2 to hold those 88 names. You'll have to change it the name of
the sheet that holds your names.

Mike Armstrong wrote:

Max,

It errors out at the Worksheets.Add.Name = Worksheets("Sheet2").Cells(i,
1).Value line with a subscript out of range error message

"Max" wrote:

Assuming the list of 88 is in Sheet2's A1:A88,
try this sub, taken from a previous post by Gord Dibben ..

Sub Add_NameWS()
'Add and name sheets using list in A1:A88 in Sheet2
For i = 1 To 88
Worksheets.Add.Name = Worksheets("Sheet2").Cells(i, 1).Value
Next
End Sub

--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
"Mike Armstrong" wrote:
I was wondering if there is any way to create a new tab for a list of cells?
For instance, I have a list of people (88) for who I need to create
individual tabs in the same workbook so that I can paste separate information
onto each of their tabs. Is there anyway, besides manually creating 88 new
tabs, to do this?


--

Dave Peterson
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
Looking for help creating dynamic list numbers Excl Excel Worksheet Functions 4 August 22nd 06 09:16 PM
Help needed - creating invoice from packing list (both in excel) [email protected] Excel Discussion (Misc queries) 0 August 22nd 06 10:18 AM
Creating a numercal list Komie Excel Discussion (Misc queries) 1 March 10th 06 10:51 PM
How do I sort a list that is on two sheets? John N Excel Discussion (Misc queries) 1 January 19th 06 11:04 PM
Eliminate creating list that returns blank cells Marc Todd Excel Worksheet Functions 1 January 26th 05 09:58 PM


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