+ Reply to Thread
Results 1 to 2 of 2

Two dimentional array code replacement for cell loop

  1. #1
    Forum Guru Sintek's Avatar
    Join Date
    12-04-2015
    Location
    Cape Town
    MS-Off Ver
    2013 | 2019 | 2021
    Posts
    15,077

    Two dimentional array code replacement for cell loop

    Hi All

    EDIT!!!!!!This is a challenge...

    I decide to post the actual scenario....Actual file has 5000 plus rows and 5500 columns
    What code does...When the attendance is updated in the Month tabs, it calls the Tracker code to update the Schedule...
    This process takes 5 min each time a cell is changed and when multiple changes must be made...becomes a nightmare...
    Is their a simpler Array solution...


    I suck at arrays and still can't wrap my head around it...I am looking to speed up below code as it needs to loop through 12 Month tabs each with 20 rows, 30 columns and populate Schedule sheet for entire year sheet...I have attached a small sample file for perusal.

    Please Login or Register  to view this content.
    Attached Files Attached Files
    Last edited by Sintek; 05-02-2018 at 05:05 AM.
    Good Luck...
    I don't presume to know what I am doing, however, just like you, I too started somewhere...
    One-day, One-problem at a time!!!
    If you feel I have helped, please click on the [★ Add Reputation] to left of post window...
    Also....Add a comment if you like!!!!
    And remember...Mark Thread as Solved...
    Excel Forum Rocks!!!

  2. #2
    Forum Guru Sintek's Avatar
    Join Date
    12-04-2015
    Location
    Cape Town
    MS-Off Ver
    2013 | 2019 | 2021
    Posts
    15,077

    Re: Two dimentional array code replacement for cell loop

    Perhaps I need to look at a different approach...
    Have the code run to only look for that specific cell that has changed and not loop through all the cells in all the sheets???

    This improved everything...Still would like a more effecient code for Tracker Sub above in post 1 as this will still have to run once at the beginning of first workbook initialize...
    Please Login or Register  to view this content.
    Last edited by Sintek; 05-02-2018 at 06:44 AM.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Loop replacement
    By excelwithshekhar in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 07-30-2014, 07:17 AM
  2. Code to Loop through a 2d array
    By newbi004 in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 12-03-2013, 06:30 AM
  3. [SOLVED] Redim on two dimentional array
    By msherifam01 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 11-05-2013, 02:26 AM
  4. 2 Dimentional Array as Dictionary Item
    By erock24 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 05-05-2011, 11:13 AM
  5. Pass two dimentional array to a function
    By SpringLily in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 10-08-2010, 05:24 AM
  6. Replacement for loop
    By T De Villiers in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 09-12-2006, 10:47 AM
  7. loop replacement of multiple if-then's
    By dsi in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 01-31-2006, 05:00 PM

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