+ Reply to Thread
Results 1 to 3 of 3

New sheets names as cell values with equivalent data

  1. #1
    Registered User
    Join Date
    10-01-2020
    Location
    London, England
    MS-Off Ver
    365
    Posts
    78

    New sheets names as cell values with equivalent data

    Hi Commuity,

    I have a file that is received weekly and it is in a horrible format.
    I have a macro already set up to amend and re-arrange the data as needed, but I need to amend it further which is beyond my skillset.

    I have a 5 row header which needs to be maintained as it is.
    Starting in A6 is a list of numbers which signify a type.
    I need to break the initial list into a new workbook ideally with a sheet named as for each of the unique numbers in column A.
    Then where the numbers are, the whole set of rows, including the original header need to be copied on to the new equivalent sheet.

    Then in the header, put the value of the number in to cell B2.

    The original sheet should not be amended.

    Attached is a mock of the data set I have, and how I ideally would like it.
    Attached Files Attached Files

  2. #2
    Forum Expert nankw83's Avatar
    Join Date
    08-31-2015
    Location
    Kuwait
    MS-Off Ver
    365
    Posts
    1,712

    Re: New sheets names as cell values with equivalent data

    Hi neilosj,

    Try below code ...
    Please Login or Register  to view this content.
    If I was able to help, you can thank me by clicking the * Add Reputation under my user name

  3. #3
    Registered User
    Join Date
    10-01-2020
    Location
    London, England
    MS-Off Ver
    365
    Posts
    78

    Re: New sheets names as cell values with equivalent data

    Hi nankw83,

    That's a great script. Works so fast too.
    Perfect, Thank you.

+ 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. Replies: 17
    Last Post: 12-29-2021, 01:16 PM
  2. Get all sheet names and cell values from all sheets
    By umberto79 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 01-23-2021, 09:37 AM
  3. Replies: 2
    Last Post: 12-15-2020, 03:18 PM
  4. [SOLVED] Create Sheets and copy rows to the Sheets if cell contains sheet names
    By CRIMEDOG in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 05-08-2015, 08:06 AM
  5. Replies: 2
    Last Post: 10-06-2014, 01:03 AM
  6. Replies: 7
    Last Post: 11-25-2012, 01:24 AM
  7. How do I have a data table display cell names rather than values?
    By raortiz99 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 11-09-2005, 12:15 PM

Tags for this Thread

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