+ Reply to Thread
Results 1 to 3 of 3

Speed Up code procedure

  1. #1
    Forum Contributor
    Join Date
    01-02-2007
    Location
    Australia NSW
    MS-Off Ver
    2013
    Posts
    494

    Speed Up code procedure

    The below code basically via a form, selects the required data in a sheets row(listbox value), and places the data into a sheet used as a speadsheet.

    However, sometimes the code runs almost instantly, yet other times the code runs slowly, and can take 5 seconds to complete.
    Please Login or Register  to view this content.
    Last edited by coreytroy; 03-03-2013 at 10:05 PM.

  2. #2
    Forum Contributor
    Join Date
    01-02-2007
    Location
    Australia NSW
    MS-Off Ver
    2013
    Posts
    494

    Re: Speed Up code procedure

    I have just tested another workbook, with much more code on a similar vein as this code.

    Yet, it runs very quick and smooth when compared to this code.

    Would a worksheet_event code (if found) slow code switching between sheets?

  3. #3
    Forum Contributor
    Join Date
    01-02-2007
    Location
    Australia NSW
    MS-Off Ver
    2013
    Posts
    494

    Re: Speed Up code procedure

    Just found the problem.

    The Worksheet_Change event was slowing the code down.
    I had a footer spec, code in there.
    If i remove the footer code into the form code all is sped up then.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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