Auto populate rows from master sheet to other sheets Excel 2013
Solved/Closed
RyanLug
-
Sep 3, 2015 at 05:11 PM
vcoolio Posts 1371 Registration date Thursday July 24, 2014 Status Moderator Last seen April 12, 2023 - Sep 25, 2015 at 04:07 AM
vcoolio Posts 1371 Registration date Thursday July 24, 2014 Status Moderator Last seen April 12, 2023 - Sep 25, 2015 at 04:07 AM
Related:
- Excel populate rows from another sheet
- Transfer data from one excel worksheet to another automatically - Guide
- Compare two worksheets and paste differences to another sheet - excel vba free download ✓ - Excel Forum
- How to screenshot excel sheet - Guide
- Excel date format dd.mm.yyyy - Guide
- Unit conversion excel sheet free download - Download - Spreadsheets
2 replies
vcoolio
Posts
1371
Registration date
Thursday July 24, 2014
Status
Moderator
Last seen
April 12, 2023
252
Sep 6, 2015 at 08:36 AM
Sep 6, 2015 at 08:36 AM
Hello Ryan,
I think that I have understood what you would like to do so see if the following code does as you would like:-
Following is my test work book for you to peruse. Run the macro and the data for each unique ID will be transferred to the respective individual sheet (including blank cells).
https://www.dropbox.com/s/at3a9pumvlxsnkb/RyanLug.xlsm?dl=0
I hope that this helps.
Cheerio,
vcoolio.
I think that I have understood what you would like to do so see if the following code does as you would like:-
Sub TransferData() Application.ScreenUpdating = False Dim lRow As Long Dim MySheet As String lRow = Range("A" & Rows.Count).End(xlUp).Row For Each sht In Worksheets If sht.Name <> "Master" Then sht.UsedRange.Offset(1).ClearContents End If Next sht For Each cell In Range("A2:A" & lRow) MySheet = cell.Value cell.EntireRow.Copy Sheets(MySheet).Range("A" & Rows.Count).End(xlUp).Offset(1, 0) Next cell Application.ScreenUpdating = True Application.CutCopyMode = False End Sub
Following is my test work book for you to peruse. Run the macro and the data for each unique ID will be transferred to the respective individual sheet (including blank cells).
https://www.dropbox.com/s/at3a9pumvlxsnkb/RyanLug.xlsm?dl=0
I hope that this helps.
Cheerio,
vcoolio.
Sep 24, 2015 at 01:22 PM