+ Reply to Thread
Results 1 to 2 of 2

Copy data sets into Master data set

Hybrid View

  1. #1
    Registered User
    Join Date
    08-28-2014
    Location
    VA
    MS-Off Ver
    2010
    Posts
    34

    Question Copy data sets into Master data set

    Hello,

    I have about 3000 individual data sets that need to be consolidated into one Master data set. The individual data sets have random blank rows that need to be deleted when pasting into the Master data set. Attached is an example data set and the Master data set.

    For example, rows 1-8 need to be deleted, row 10 needs to be deleted, rows 66-73, etc.

    Any help is greatly appreciated!!
    Jenny
    Attached Files Attached Files

  2. #2
    Forum Guru Norie's Avatar
    Join Date
    02-02-2005
    Location
    Stirling, Scotland
    MS-Off Ver
    Microsoft Office 365
    Posts
    19,644

    Re: Copy data sets into Master data set

    Try this.
    SSub GetMaster()
    Dim rng As Range
    
        With Sheets("dataset")
            .Rows(10).Delete
            .Rows(1).Resize(6).Delete
            Set rng = .Range("A1").End(xlDown)
            Do While rng.Row <> .Rows.Count
                rng.Offset(1).Resize(10).EntireRow.Delete
                Set rng = rng.End(xlDown)
            Loop
        End With
        
    End Sub
    If posting code please use code tags, see here.

+ 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. [SOLVED] Combining two data sets into a master list
    By mikaselm in forum Excel General
    Replies: 3
    Last Post: 10-27-2014, 10:09 PM
  2. [SOLVED] Copy Data from different sheets weekly into a master list with data of the whole year
    By ec4excel in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 03-12-2014, 10:37 AM
  3. Combine multiple data sets into one master spreadsheet
    By thetrickster in forum Excel General
    Replies: 5
    Last Post: 01-16-2012, 02:55 PM
  4. [SOLVED] Auto copy data to Master sheets after I enter data in subsheets
    By Uzwal Gutta in forum Excel - New Users/Basics
    Replies: 0
    Last Post: 05-13-2010, 04:40 AM
  5. Creating Data Sets From Master Sheet?
    By saintandrew in forum Excel General
    Replies: 7
    Last Post: 02-16-2007, 07:04 PM

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