+ Reply to Thread
Results 1 to 3 of 3

Macro on 2500 lines - looking to increase speed by defining variables?

  1. #1
    Registered User
    Join Date
    10-01-2014
    Location
    london, england
    MS-Off Ver
    office 13
    Posts
    18

    Macro on 2500 lines - looking to increase speed by defining variables?

    Hi,

    My macro is taking about ten minutes to run on 2500 lines (it's pricing an options book) - there are five variables that need to go into the calculator - is the way that they are being brought across from one spreadsheet to another the most efficient method? Any suggestions on improving the speed of the calculation? The workbook is an 11MB file with no volatile functions.


    Please Login or Register  to view this content.
    Thanks for looking,

    LB
    Last edited by Londonbound; 05-06-2016 at 09:59 AM.

  2. #2
    Forum Contributor kalbasiatka's Avatar
    Join Date
    02-27-2016
    Location
    Brest, Belarus
    MS-Off Ver
    2021
    Posts
    224

    Re: Macro on 2500 lines - looking to increase speed by defining variables?

    For what this rows
    Please Login or Register  to view this content.
    to make the code faster, it is necessary to use arrays and do the calculation in code, not on the sheet
    Last edited by kalbasiatka; 05-06-2016 at 09:59 AM.
    To do it for me and help me it is 2 different things!
    Sorry for my english, blame Google translator

  3. #3
    Registered User
    Join Date
    10-01-2014
    Location
    london, england
    MS-Off Ver
    office 13
    Posts
    18

    Re: Macro on 2500 lines - looking to increase speed by defining variables?

    Thats amended Kalbasiatka thanks

+ 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. Search for variables if not there add lines to file macro
    By penbeacho in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 04-14-2015, 08:16 AM
  2. Array looping, increase speed of array macro
    By techrcn in forum Excel Programming / VBA / Macros
    Replies: 15
    Last Post: 11-27-2013, 05:33 AM
  3. Trouble defining variables in simple macro - newbie
    By poetstorm in forum Excel Programming / VBA / Macros
    Replies: 13
    Last Post: 03-21-2012, 11:52 PM
  4. Defining wind event by direction (degrees) AND speed!
    By cswann in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 11-06-2008, 04:32 PM
  5. Defining a button to increase a cell value by 1
    By Dano in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-21-2008, 10:43 AM
  6. Increase Speed
    By [email protected] in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 05-04-2005, 03:06 PM
  7. [SOLVED] Increase macro speed?
    By Valeria in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 02-14-2005, 05:06 AM

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