+ Reply to Thread
Results 1 to 8 of 8

Macro to create and populate sheets

  1. #1
    Registered User
    Join Date
    07-18-2019
    Location
    UK
    MS-Off Ver
    2016
    Posts
    25

    Macro to create and populate sheets

    Hi all,

    Would greatly appreciate anyone who can, with the attached file, create a Macro (?) that can
    - If there is data in a row in sheet “data”
    o Create a new sheet, with the title of that sheet equalling the value in Column E
    o Putting the values into the newly created sheet from the Data sheet
     I have coloured coded which should translate into which
     I have created an example in the sheet “5555”
    Many thanks
    Gareth
    Attached Files Attached Files

  2. #2
    Forum Expert Mumps1's Avatar
    Join Date
    10-10-2012
    Location
    Toronto, Canada
    MS-Off Ver
    Excel 2010, 2013
    Posts
    7,820

    Re: Macro to create and populate sheets

    Can there be multiple occurrences of "5555" in column E?
    You can say "THANK YOU" for help received by clicking the Star symbol at the bottom left of the helper's post.
    Practice makes perfect. I'm very far from perfect so I'm still practising.

  3. #3
    Registered User
    Join Date
    07-18-2019
    Location
    UK
    MS-Off Ver
    2016
    Posts
    25

    Re: Macro to create and populate sheets

    yes, and a seperate sheet would need creating for each occurrence.
    Thanks

  4. #4
    Forum Expert Mumps1's Avatar
    Join Date
    10-10-2012
    Location
    Toronto, Canada
    MS-Off Ver
    Excel 2010, 2013
    Posts
    7,820

    Re: Macro to create and populate sheets

    Since there cannot be more than one sheet with the same name, how do you want to name the sheet for each occurrence of "5555"?

  5. #5
    Registered User
    Join Date
    07-18-2019
    Location
    UK
    MS-Off Ver
    2016
    Posts
    25

    Re: Macro to create and populate sheets

    sorry I should have been more clear; there will be multilple entries into column E but none of the entires will be duplicates (i.e. 5555, 5432, 5114 etc)

  6. #6
    Forum Expert Mumps1's Avatar
    Join Date
    10-10-2012
    Location
    Toronto, Canada
    MS-Off Ver
    Excel 2010, 2013
    Posts
    7,820

    Re: Macro to create and populate sheets

    Try:
    Please Login or Register  to view this content.

  7. #7
    Registered User
    Join Date
    07-18-2019
    Location
    UK
    MS-Off Ver
    2016
    Posts
    25

    Re: Macro to create and populate sheets

    thank you -worked perfectly

  8. #8
    Forum Expert Mumps1's Avatar
    Join Date
    10-10-2012
    Location
    Toronto, Canada
    MS-Off Ver
    Excel 2010, 2013
    Posts
    7,820

    Re: Macro to create and populate sheets

    You are very welcome.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Macro to copy sheets & create new file with unique filename? Also populate cells?
    By whahmira in forum Excel Programming / VBA / Macros
    Replies: 18
    Last Post: 08-27-2018, 07:54 AM
  2. [SOLVED] Macro to create a looping macro to populate another worksheet.
    By sungen99 in forum Excel Programming / VBA / Macros
    Replies: 23
    Last Post: 06-22-2016, 10:53 AM
  3. Create and populate new sheets in another workbook.. help please?
    By ElPolloDiablo in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-26-2015, 04:33 AM
  4. [SOLVED] create new sheets and populate with data from original sheet
    By sommersc1 in forum Excel Programming / VBA / Macros
    Replies: 13
    Last Post: 07-12-2013, 12:37 PM
  5. [SOLVED] Create sheets named by header and populate them with sorted data
    By salaso69 in forum Excel Programming / VBA / Macros
    Replies: 12
    Last Post: 02-16-2013, 03:47 PM
  6. How to create and populate sheets based upon cell values in master sheet?
    By mezzopiano1423 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-12-2013, 12:51 PM
  7. VBA - Create folder with date in name, populate with sheets
    By rinser in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-28-2009, 10:29 AM

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