PC Review


Reply
Thread Tools Rate Thread

auto generate sheets in a workbook from list using a master sheet

 
 
Carl
Guest
Posts: n/a
 
      1st Mar 2010
i need to automaticly generate time cards using a name list from the name
sheet and the master timecard sheet so it will put the all the info from the
name sheet into the cells of the master and change the tab name to the name
on the list so they can input their own times onto the sheet and do this for
the names on the list.
 
Reply With Quote
 
 
 
 
Mike H
Guest
Posts: n/a
 
      1st Mar 2010
Carl,

If I understand you have a list of names on a sheet called names and you
want to add a worksheet for each name. Try this which assumes the names are
in A1 to A7 so change to suit

Sub Add_Sheets()
Dim MyRange As Range
Set MyRange = Sheets("Names").Range("A1:A7")
For Each c In MyRange
Worksheets.Add(After:=Worksheets(Worksheets.Count)).Name = c.Value
Next
End Sub

You will have to give a clearer account of what you want after that.
--
Mike

When competing hypotheses are otherwise equal, adopt the hypothesis that
introduces the fewest assumptions while still sufficiently answering the
question.


"Carl" wrote:

> i need to automaticly generate time cards using a name list from the name
> sheet and the master timecard sheet so it will put the all the info from the
> name sheet into the cells of the master and change the tab name to the name
> on the list so they can input their own times onto the sheet and do this for
> the names on the list.

 
Reply With Quote
 
Dave Peterson
Guest
Posts: n/a
 
      1st Mar 2010
Check your other post.

Carl wrote:
>
> i need to automaticly generate time cards using a name list from the name
> sheet and the master timecard sheet so it will put the all the info from the
> name sheet into the cells of the master and change the tab name to the name
> on the list so they can input their own times onto the sheet and do this for
> the names on the list.


--

Dave Peterson
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Connecting a master sheet to other sheets within the same workbook ~genevieve Microsoft Excel Misc 3 17th Sep 2009 12:58 PM
Auto generate sheets by different values of a cell. Dawn Microsoft Excel Misc 4 19th May 2008 04:30 AM
Generate sheet names from list, assign data to summary sheet. Jason.Alden.Benoit@gmail.com Microsoft Excel Programming 4 20th Jun 2007 09:17 PM
Master sheet to split sheets back to another master sheet FurRelKT Microsoft Excel Programming 0 11th May 2006 09:28 PM
Allocate Files to Sheets and Build a Master Sheet which Summarises All Sheets hanuman Microsoft Excel Programming 0 9th Sep 2003 11:23 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 08:35 PM.