+ Reply to Thread
Results 1 to 4 of 4

Slow VBA execution

  1. #1
    Registered User
    Join Date
    06-04-2008
    Posts
    14

    Slow VBA execution

    Hi all

    I hope you can help me shed some light over this problem.

    I have a worksheet (Excel 2010) where I want to re-number the records in a table. There are always about 12000 records.
    In the workbook there are a lot of Vlookup's that refer to this table.

    My macro uses about 20 sec to renumber 100 records, which makes this solution unapplicable. In a new sheet it takes only a split second.

    I tried to disable automatic calculation to fix the issue, but it doesn't really help.

    Any clues?

    Please Login or Register  to view this content.
    Br Michael

  2. #2
    Forum Expert
    Join Date
    03-28-2012
    Location
    TBA
    MS-Off Ver
    Office 365
    Posts
    12,454

    Re: Slow VBA execution

    Please Login or Register  to view this content.
    INTO may help

    Please Login or Register  to view this content.

  3. #3
    Registered User
    Join Date
    06-04-2008
    Posts
    14

    Re: Slow VBA execution

    Actually the whole workbook is very slow for some reason, when I set LastRow= 40 it is still killing me.

    I hope to make a work-around by disabling automatic calculation, but i seems that I have to rebuild the workbook step by step to see where the mishab is.
    I was just hoping to be able to avoid this.

  4. #4
    Valued Forum Contributor
    Join Date
    03-21-2013
    Location
    cyberia
    MS-Off Ver
    Excel 2007
    Posts
    457

    Re: Slow VBA execution

    GustavBA,

    does this provide any improvement?
    Please Login or Register  to view this content.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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