+ Reply to Thread
Results 1 to 6 of 6

Macro to create multiple sheets from template and fill with datas from one sheet

  1. #1
    Forum Contributor
    Join Date
    12-15-2012
    Location
    Chennai
    MS-Off Ver
    Excel 2010
    Posts
    202

    Macro to create multiple sheets from template and fill with datas from one sheet

    Hello all,

    I have a file which is used to tabulate the results of a competition.
    I have a sheet(list) which has the datas like competition number(b4:b33), Driver(c4:c33), Co- Driver(d4:d33)
    and Category (e4:e33).
    In another sheet named (Template) which has the format of the sheet to be copied.

    In the list sheet if the comp no=1 driver = david co-driver = john and category = Expert
    then it should create a worksheet with name "1" competition number.

    The data must be copied to the respective cells.

    File attached for reference.
    Attached Files Attached Files

  2. #2
    Forum Contributor
    Join Date
    12-15-2012
    Location
    Chennai
    MS-Off Ver
    Excel 2010
    Posts
    202

    Re: Macro to create multiple sheets from template and fill with datas from one sheet

    Somebody please post your ideas.

  3. #3
    Forum Contributor arlu1201's Avatar
    Join Date
    09-09-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    19,166

    Re: Macro to create multiple sheets from template and fill with datas from one sheet

    In the list sheet if the comp no=1 driver = david co-driver = john and category = Expert
    then it should create a worksheet with name "1" competition number.
    You mean once all 4 columns in that row have been completed, the Template sheet should be copied and the information copied over to the copied sheet?
    If I have helped, Don't forget to add to my reputation (click on the star below the post)
    Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)
    Use code tags when posting your VBA code: [code] Your code here [/code]

  4. #4
    Forum Contributor
    Join Date
    12-15-2012
    Location
    Chennai
    MS-Off Ver
    Excel 2010
    Posts
    202

    Unhappy Re: Macro to create multiple sheets from template and fill with datas from one sheet

    Hello Admin,

    Exactly you are right.
    That is what I needed.

  5. #5
    Forum Contributor arlu1201's Avatar
    Join Date
    09-09-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    19,166

    Re: Macro to create multiple sheets from template and fill with datas from one sheet

    Can we consider that column E will be the last column where data will be updated? Can we have the macro triggered as soon as data is entered in column D in that row?

  6. #6
    Forum Contributor
    Join Date
    12-15-2012
    Location
    Chennai
    MS-Off Ver
    Excel 2010
    Posts
    202

    Re: Macro to create multiple sheets from template and fill with datas from one sheet

    That will be fine Admin.
    The data from the list sheet should be copied to new worksheet created.
    It should occupy the place as follows:
    - b4(comp no) = f9 in created sheet
    - c4(driver) = f10
    - d4(co - driver) = f11
    - e4(category) = f12

    The sheet name should be the value of b4.

    Hope that helps.

+ 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