+ Reply to Thread
Results 1 to 5 of 5

VBA Code to duplicate (create copy of a sheet) sheets?

  1. #1
    Registered User
    Join Date
    12-12-2006
    Posts
    15

    Question VBA Code to duplicate (create copy of a sheet) sheets?

    Dear friends,

    I am a teacher and tryng to create a solution to mintor progress of my students whil they are working on the projects. The project monitorng/marking is based on different strands.

    I entered all the strands on sheet (Data) the way I want them to be.

    On second sheet (Students) I entered student names.

    Now I want to put code to generate one copy of the sheet containg marking/monitoring table (data) for each student.

    Each copy must be named after the student,,,,,

    I will be obligd if you please help me.

    Regards
    Last edited by tariq; 02-20-2007 at 02:52 PM.

  2. #2
    Forum Contributor VBA Noob's Avatar
    Join Date
    04-25-2006
    Location
    London, England
    MS-Off Ver
    xl03 & xl 07(Jan 09)
    Posts
    11,988
    Hi,

    Without an example is a bit hard to see what your doing.

    Sounds like Ron's site might help

    http://www.rondebruin.nl/copy5.htm


    VBA Noob
    _________________________________________


    Credo Elvem ipsum etian vivere
    _________________________________________
    A message for cross posters

    Please remember to wrap code.

    Forum Rules

    Please add to your signature if you found this link helpful. Excel links !!!

  3. #3
    Registered User
    Join Date
    12-12-2006
    Posts
    15

    Please look at the attached sheet

    Dear VBA Noob,

    Please look at the attached workbook,


    The sheet called Main menu sheet contains names of the students, I want to put a button which can generate copies of the sheet called Data and rename the copy accroding to the names on the sheet called Main.

    You will find that I manualy craeted the copies but with fouur/five teaching groups each containing 25 students it is very difficult task.

    I will be obliged if you please help me.

    Regards
    Attached Files Attached Files

  4. #4
    Forum Contributor VBA Noob's Avatar
    Join Date
    04-25-2006
    Location
    London, England
    MS-Off Ver
    xl03 & xl 07(Jan 09)
    Posts
    11,988
    Hi,

    I'm not a VBA expert but here is my crude code

    Please Login or Register  to view this content.
    NB Start is a name range for cell B8

    VBA Noob
    Last edited by VBA Noob; 02-20-2007 at 06:31 PM.

  5. #5
    Registered User
    Join Date
    01-09-2007
    Posts
    59
    This assumes student list starts in cell A1 and names are in alphabetical order:

    Please Login or Register  to view this content.
    ska

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1