Auto-Populating Rows from Master Sheet into Other Sheets
Closed
lizadams1194
-
Mar 11, 2021 at 04:44 PM
vcoolio Posts 1411 Registration date Thursday July 24, 2014 Status Moderator Last seen September 6, 2024 - Mar 11, 2021 at 08:20 PM
vcoolio Posts 1411 Registration date Thursday July 24, 2014 Status Moderator Last seen September 6, 2024 - Mar 11, 2021 at 08:20 PM
Related:
- How to auto populate data from multiple sheets to a master
- How to stop facebook from auto refreshing - Guide
- Master royale - Download - Strategy
- Grand theft auto v free download no verification for pc - Download - Action and adventure
- Yu-gi-oh master duel download pc without steam - Download - Strategy
- Grand theft auto iv download apk for pc - Download - Action and adventure
1 response
vcoolio
Posts
1411
Registration date
Thursday July 24, 2014
Status
Moderator
Last seen
September 6, 2024
262
Updated on Mar 11, 2021 at 08:27 PM
Updated on Mar 11, 2021 at 08:27 PM
Hello Liz,
I'm not too sure as to how your workbook is set out but here is a code that could help steer you in the right direction:-
This code basically transfers all relevant data to the individual agency worksheets (I've assumed four Agencies in the array used in the code).
Following is a link to a sample workbook with the code implemented and assigned to the "TEST ME" button:-
https://wetransfer.com/downloads/63a412ffe66a2f5b9aeff6e6f71c156020210312011416/49518a
Click on the button to see how it works.
If you need further assistance then please upload a sample of your file to a free file sharing site such as WeTransfer or Drop Box then post the link to your file back here. Please ensure that your sample is an exact replica of your actual file and if your data is sensitive then please use dummy data.
I hope that this helps.
Cheerio,
vcoolio.
P.S. Please advise if you'd like the transferred data to be deleted from the Master sheet or if you'd rather keep all data in the Master sheet and just have the destination sheets refreshed.
I'm not too sure as to how your workbook is set out but here is a code that could help steer you in the right direction:-
Option Explicit Sub Test() Dim ar As Variant, i As Integer Dim wsA As Worksheet, ws As Worksheet Set ws = Sheets("Master") ar = Array("Agency 1", "Agency 2", "Agency 3", "Agency 4") Application.ScreenUpdating = False For i = 0 To UBound(ar) Set wsA = Sheets(CStr(ar(i))) With ws.[A1].CurrentRegion .AutoFilter 2, ar(i) .Offset(1).EntireRow.Copy wsA.Range("A" & Rows.Count).End(3)(2) .AutoFilter End With wsA.Columns.AutoFit Next i Application.ScreenUpdating = True End Sub
This code basically transfers all relevant data to the individual agency worksheets (I've assumed four Agencies in the array used in the code).
Following is a link to a sample workbook with the code implemented and assigned to the "TEST ME" button:-
https://wetransfer.com/downloads/63a412ffe66a2f5b9aeff6e6f71c156020210312011416/49518a
Click on the button to see how it works.
If you need further assistance then please upload a sample of your file to a free file sharing site such as WeTransfer or Drop Box then post the link to your file back here. Please ensure that your sample is an exact replica of your actual file and if your data is sensitive then please use dummy data.
I hope that this helps.
Cheerio,
vcoolio.
P.S. Please advise if you'd like the transferred data to be deleted from the Master sheet or if you'd rather keep all data in the Master sheet and just have the destination sheets refreshed.