+ Reply to Thread
Results 1 to 5 of 5

creating new worksheets from a template for each row of data

  1. #1
    Registered User
    Join Date
    02-06-2012
    Location
    Australia
    MS-Off Ver
    Excel 2007
    Posts
    2

    creating new worksheets from a template for each row of data

    Hi there, i have often come here to look up answers to vba questions and this is my first post for help.

    i have a spreadsheet of data that needs to go into a template format.

    so far the macro can successfully look down column A, create a new worksheet for each row,
    - it does not rename the worksheet to the respective cell reference for each row

    i can get a single row/sheet to copy cell data to the correct location
    - though i cannot get it to repeat for the next row i

    i have included the xlsx that i was working on for a trial.

    there are many more rows (hundreds) and columns (~20) in the final version, though i am sure i will be able to expand once these problems are solved.


    Please Login or Register  to view this content.

    any help would be greatly appreciated
    Attached Files Attached Files

  2. #2
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: creating new worksheets from a template for each row of data

    Like so:

    Please Login or Register  to view this content.
    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    ?None of us is as good as all of us? - Ray Kroc
    ?Actually, I *am* a rocket scientist.? - JB (little ones count!)

  3. #3
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200

    Re: creating new worksheets from a template for each row of data

    Why not simply use VLOOKUP?
    Hope that helps.

    RoyUK
    --------
    For Excel Tips & Solutions, free examples and tutorials why not check out my web site

    Free DataBaseForm example

  4. #4
    Registered User
    Join Date
    02-06-2012
    Location
    Australia
    MS-Off Ver
    Excel 2007
    Posts
    2

    Re: creating new worksheets from a template for each row of data

    Nice Work!

    thanks JBeaucaire for your help, works a charm.

  5. #5
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: creating new worksheets from a template for each row of data

    If that takes care of your need, please click EDIT in your original post, click GO ADVANCED and set the PREFIX box to SOLVED.

+ 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