+ Reply to Thread
Results 1 to 6 of 6

What makes a "macro" created take so much time to run?

  1. #1
    Registered User
    Join Date
    04-27-2009
    Location
    Brazil
    MS-Off Ver
    Excel 2003
    Posts
    13

    What makes a "macro" created take so much time to run?

    I created a macro (ro run solver's)with VBA and the macros works fine.
    The issue is that the macro is taking more than 2 minutes to run, while when I created was taking less than 10 seconds the same amount of solver's!

    Does anybody know what can cause the "delay" on the macro?
    Could it be damaged becaused I saved the macro several times in different files versions?

    I already tried to copy the macro and paste again on a new file, but it is still very slow... Anybody knows what can be causing this issue?

    THanks!!

  2. #2
    Forum Contributor
    Join Date
    01-13-2009
    Location
    Mumbai
    MS-Off Ver
    Excel 2003, 2007
    Posts
    168

    Re: What makes a "macro" created take so much time to run?

    Hi livia,

    Please post the macro that are using.

    Macro could not be damaged by the number of times it has been used. It can be used innumerable times.

    Regards,
    Vaibhav

  3. #3
    Registered User
    Join Date
    04-27-2009
    Location
    Brazil
    MS-Off Ver
    Excel 2003
    Posts
    13

    I just dont know how to use codes to post the macro... sorry
    Last edited by LIVIA; 05-11-2009 at 04:24 PM.

  4. #4
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2010, 2019
    Posts
    40,689

    Re: What makes a "macro" created take so much time to run?

    Please read the forum rules, and then edit your post to add code tags.
    Entia non sunt multiplicanda sine necessitate

  5. #5
    Forum Contributor
    Join Date
    01-13-2009
    Location
    Mumbai
    MS-Off Ver
    Excel 2003, 2007
    Posts
    168

    Re: What makes a "macro" created take so much time to run?

    I accidently posted one more message..
    How to delete my own post??

    Sorry for not having read the forum rules..

    Regards,
    Vaibhav
    Last edited by c.vaibhav; 05-07-2009 at 02:19 PM.

  6. #6
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2010, 2019
    Posts
    40,689

    Re: What makes a "macro" created take so much time to run?

    c.vaibhav,

    Your post does not comply with Rule 7 of our Forum RULES. Do not post a reply to a thread where a moderator has requested an action that has not been complied with e.g Title change or Code tags...etc

+ 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