+ Reply to Thread
Results 1 to 4 of 4

How To Create And Populate New Worksheets With Data From Columns In Worksheet 1

  1. #1
    Registered User
    Join Date
    06-12-2012
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    1

    How To Create And Populate New Worksheets With Data From Columns In Worksheet 1

    HI guys i'm new to macro world need help.
    my work requires to create n of copies of sheet 2 based up on the no of names present in first column of sheet 1,also name each sheet with the names from sheet 1 and place the name in D2 cell of the respective sheet.
    ex:-
    sheet 1 contains names ravi
    sundar
    hari........
    sheet to contains there common certificates
    need to create certificate for every one in individual sheet with there names in it,name the sheet with there name

  2. #2
    Valued Forum Contributor
    Join Date
    02-09-2012
    Location
    Mauritius
    MS-Off Ver
    Excel 2007
    Posts
    1,055

    Re: How To Create And Populate New Worksheets With Data From Columns In Worksheet 1

    Hi

    Upload sample file.
    Click *, if my suggestion helps you. Have a good day!!

  3. #3
    Registered User
    Join Date
    06-11-2012
    Location
    Bangalore
    MS-Off Ver
    Excel 2007
    Posts
    86

    Re: How To Create And Populate New Worksheets With Data From Columns In Worksheet 1

    Hi Ravi Varma,



    Dear


    As you are new to Vba Macro world

    i suggest you to be aware about the Worksheet,workbook & Range object .

    these are the 3 main object which comprise 60% of Vba codeing.

    create a procedure
    declare a range object and assign a range that contains a range having a list of names.

    then use this range in "for loop statement" or "for each statement"

    and use the add method of sheet object to add a new sheet
    then pass new name to the worksheet that has been newly added.



    please rate if u are satisfied with this post.

  4. #4
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,457

    Re: How To Create And Populate New Worksheets With Data From Columns In Worksheet 1

    This thread is a similar requirement that you may be able to adapt to meet your needs.

    http://www.excelforum.com/excel-prog...e-by-line.html

    It is somewhat more complex than what you have described in that it populates many cells so it should just be a case of removing some of the header cell references.

    I hope it helps.

    If you want a more specific answer you will need to post a sample workbook.

    Regards, TMS
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


+ 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