Results 1 to 8 of 8

Newbie here. Macro functions but extremely slow

Threaded View

  1. #1
    Registered User
    Join Date
    10-01-2012
    Location
    United States
    MS-Off Ver
    Excel 2010
    Posts
    5

    Newbie here. Macro functions but extremely slow

    Hello All!

    I have had so much help with these forums and was wondering if someone could help me with my macro. I am a civil engineer with no programming knowledge. Most of the vba macro I created is by using codes from this forum or by recording in excel and extending it a little further. It has worked so far however it takes hours and hours to process all the files. I now have a folder with over 600 files that I have to process and I have let it run overnight and it has successfully however I cannot present it to the users since it is time consuming. Couple of specific issues that I as a non-programmer can mention is:

    1. Module 37 is the master list of all the macro I use --- I dont think this has any issues
    2. Call one is pretty straight forward - it imports all the csv like files into the current workbook -- Don't think this has any issues
    3. Call two (module 6) - calculates average speed and uniformity metrics. --- This is the one I think has major issues. Since the data is variable, I did not know how to mention "check for rows with values and calculate average". Instead, I calculate average of full columns or sometimes specific cell numbers which in this case I set it as 3600 rows. Then all the calculations are done cell by cell since I recorded macro and generalized. This macro takes a ton of time.

    4. Module 29 also is recorded and is time consuming.

    5. Module 33 is also recorded and takes time to copy and paste formula cell by cell.


    I was wondering if anyone out here could help/ guide? I have attached the macro for your reference. Thanks in advance!

    Sarah
    Attached Files Attached Files

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Macro Tied to Complex Nested If Statement Extremely Inefficient/Slow - HELP
    By Umann51 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 10-06-2011, 04:34 PM
  2. Extremely slow macro!
    By PSm1th29 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 07-23-2010, 06:27 AM
  3. Excel is extremely slow now
    By Martindelica in forum Excel General
    Replies: 0
    Last Post: 05-01-2007, 08:32 PM
  4. [SOLVED] Extremely slow file
    By Jay in forum Excel General
    Replies: 3
    Last Post: 07-10-2006, 08:19 AM
  5. Workbook is now Extremely Slow
    By Dmorri254 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 05-03-2005, 02:19 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