Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #4  
Old 01-28-2016, 10:18 AM
jolivanes jolivanes is offline Move Data from Master List to Sheets with City Name Windows XP Move Data from Master List to Sheets with City Name Office 2007
Advanced Beginner
 
Join Date: Sep 2011
Posts: 91
jolivanes will become famous soon enough
Default

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
Attached Files
File Type: xlsm Meggenm.xlsm (25.1 KB, 12 views)
Reply With Quote
 

Thread Tools
Display Modes


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
Move Data from Master List to Sheets with City Name Excel, transfer data from Master Sheet to sub sheets, using key word from column anvqui Excel Programming 9 06-16-2015 01:35 PM
Move Data from Master List to Sheets with City Name 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
Move Data from Master List to Sheets with City Name How to syncronize data in two different sheets diegogeid Excel 2 09-30-2010 12:19 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 08:54 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft