![]() |
|
#4
|
|||
|
|||
|
This might be faster if you have a large amount of data.
See attached Code:
Sub With_AutoFilter()
Dim cityArr, i As Long
cityArr = Array("Dallas", "Austin")
Application.ScreenUpdating = False
With Range("A1").CurrentRegion
For i = LBound(cityArr) To UBound(cityArr)
.AutoFilter Field:=3, Criteria1:=cityArr(i)
.Offset(1).Copy Sheets(cityArr(i)).Cells(Rows.Count, 1).End(xlUp).Offset(1)
Next i
.AutoFilter
End With
Application.ScreenUpdating = True
End Sub
|
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Complex calculation from multiple sheets to master sheet | inreality01 | Excel | 49 | 01-06-2016 03:09 PM |
Excel, transfer data from Master Sheet to sub sheets, using key word from column
|
anvqui | Excel Programming | 9 | 06-16-2015 01:35 PM |
seprate process data from main master list
|
Santhosh AMASL | Excel | 1 | 01-12-2015 09:33 AM |
| Combine Data From 2 Sheets into a new sheet | bremen22 | Excel | 1 | 09-11-2013 12:59 PM |
How to syncronize data in two different sheets
|
diegogeid | Excel | 2 | 09-30-2010 12:19 AM |