1. Welcome to Chandoo.org Forums. Short message for you

    Hi Guest,

    Thanks for joining Chandoo.org forums. We are here to make you awesome in Excel. Before you post your first question, please read this short introduction guide. When posting or responding to questions please remember our values at Chandoo.org are: Humility, Passion, Fun, Awesomeness, Simplicity, Sharing Remember that we have people here for whom English is not there first language and we need to allow for this in our dealings.

    Yours,
    Chandoo
  2. Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  3. When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

Using VBA to search table data is slow

Discussion in 'VBA Macros' started by Bob G., Jul 14, 2017.

  1. Bob G.

    Bob G. New Member

    Messages:
    23
    I am using Excel 2016 and have two sheets "Base" and "Update" data. I have the data in tables for dashboard purposes.

    However, i have several VBA compares that I run on the data and I noticed the other day that when the data is in a table the compares take about a 1 to 2 min's to run, BUT, if my data is not in a table the compare takes 10 to 15 sec's. When running 15+ report it added up.

    Has anyone seen this? If so how did you address?

    Thanks in advance for any and all help...
  2. Chihiro

    Chihiro Well-Known Member

    Messages:
    3,318
    Depends on multiple factors. I'd suggest uploading sample workbook that mirrors your actual workbook (with sanitized data) along with the code.
  3. Hui

    Hui Excel Ninja Staff Member

    Messages:
    10,459
    Bob

    VBA can be blindingly fast or soul destroyingly slow
    The only difference is how the task is implemented in VBA

    Can you either post the file or a sample file along with the code so we can see what your doing?

Share This Page