Closed Thread
Results 1 to 2 of 2

Updating data from a main list after data has been split into smaller lists using VBA

  1. #1
    Registered User
    Join Date
    06-22-2014
    Location
    Sydney, Australia
    MS-Off Ver
    Excel 2015
    Posts
    4

    Updating data from a main list after data has been split into smaller lists using VBA

    Hello

    I have a main list that has 15,000 entries in it. I need to split the list alphabetically which i have done using this VBA

    Sub Split()

    Sheet1.Activate
    Sheet1.Range("A10:Z10").Select
    Selection.Copy
    Sheet2.Select
    Range("A1").PasteSpecial
    Sheet2.Range("C4").Select
    Sheet1.Select
    Application.CutCopyMode = False
    Sheet1.Range("C15").Select
    Sheet2.Select
    Sheet1.Range("A10:Z18916").AdvancedFilter Action:=xlFilterCopy, CriteriaRange:=Sheet1.Range("AB10:AB11"), CopyToRange:=Sheet2.Range("A1:Z1"), Unique:=True

    End Sub

    This seems to work well but does take some time to process, around 5 minutes (A - Z)

    But after I have split this data, when I update the master list I would like to have a macro which updates the sub lists.

    How would this be possible? I was thinking I could just clear all of the data in the sub sheets and run the split macro again? Is there an easier way?

    I have a limited understanding of what i am doing!

    Cheers and thanks in advance,

  2. #2
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: Updating data from a main list after data has been split into smaller lists using VBA

    Take a look to forum rules pls, because:

    1) Your post does not comply with Rule 3 of our Forum RULES. Use code tags around code.

    Posting code between [CODE]Please [url=https://www.excelforum.com/login.php]Login or Register [/url] to view this content.[/CODE] tags makes your code much easier to read and copy for testing, it also maintains VBA formatting.

    Highlight your code and click the # icon at the top of your post window. More information about these and other tags can be found here

    2)
    This is a duplicate post and as such does not comply with Rule 5 of our forum rules. This thread will now be closed, you may continue in your other thread.

    Thread Closed.
    Regards

    Fotis.

    -This is my Greek whisper to Europe.

    --Remember, saying thanks only takes a second or two. Click the little star * below, to give some Rep if you think an answer deserves it.

    Advanced Excel Techniques: http://excelxor.com/

    --KISS(Keep it simple Stupid)

    --Bring them back.

    ---See about Acropolis of Athens.

    --Visit Greece.

Closed Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Create multiple lists based on main data source
    By GhostCookie in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 12-14-2012, 11:14 AM
  2. Creating Smaller Lists from a Big List
    By allpow in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 05-01-2012, 04:53 PM
  3. Replies: 3
    Last Post: 09-02-2010, 03:04 AM
  4. Replies: 2
    Last Post: 04-23-2009, 11:08 PM
  5. Extracting data from one massive worksheet to split to smaller sheets of data
    By michaelkwc in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 05-21-2008, 06:35 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1