Automatically Syncing Data from my master sheet to Individual Sh
Closed
saral.saraf
Posts
1
Registration date
Tuesday May 5, 2015
Status
Member
Last seen
May 5, 2015
-
May 5, 2015 at 12:33 PM
vcoolio Posts 1411 Registration date Thursday July 24, 2014 Status Moderator Last seen September 6, 2024 - May 6, 2015 at 05:08 AM
vcoolio Posts 1411 Registration date Thursday July 24, 2014 Status Moderator Last seen September 6, 2024 - May 6, 2015 at 05:08 AM
Related:
- Automatically Syncing Data from my master sheet to Individual Sh
- Master royale - Download - Strategy
- Transfer data from one excel worksheet to another automatically - Guide
- Yu-gi-oh master duel download pc without steam - Download - Strategy
- Google sheet right to left - Guide
- Typing master mod for pc - Download - Education
1 response
vcoolio
Posts
1411
Registration date
Thursday July 24, 2014
Status
Moderator
Last seen
September 6, 2024
262
May 6, 2015 at 05:08 AM
May 6, 2015 at 05:08 AM
Hello Saral,
The following code should do the job for you:-
You can have a look at my test work book here:-
https://www.dropbox.com/s/eanhaab28tt54vo/SaralSaraf.xlsm?dl=0
to see how it works.
I have placed fictitious names in Column A and the sheet tabs rather than just letters.
The code also deletes all data from the Master Sheet once the data is transferred to each individual sheet.
Cheerio,
vcoolio.
The following code should do the job for you:-
Sub TransferData() Application.ScreenUpdating = False Dim lRow As Long Dim MySheet As String lRow = Range("A" & Rows.Count).End(xlUp).Row 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 Sheets("Master").Range("A2:K" & Rows.Count).ClearContents MsgBox "Data transfer completed!", vbExclamation Application.ScreenUpdating = True End Sub
You can have a look at my test work book here:-
https://www.dropbox.com/s/eanhaab28tt54vo/SaralSaraf.xlsm?dl=0
to see how it works.
I have placed fictitious names in Column A and the sheet tabs rather than just letters.
The code also deletes all data from the Master Sheet once the data is transferred to each individual sheet.
Cheerio,
vcoolio.