+ Reply to Thread
Results 1 to 2 of 2

This code has slowed my entire tool down. What is wrong with it?

  1. #1
    Registered User
    Join Date
    05-15-2013
    Location
    New Delhi, India
    MS-Off Ver
    Excel 2007
    Posts
    32

    This code has slowed my entire tool down. What is wrong with it?

    Please Login or Register  to view this content.

  2. #2
    Forum Expert
    Join Date
    12-14-2012
    Location
    London England
    MS-Off Ver
    MS 365 Office Suite.
    Posts
    8,448

    Re: This code has slowed my entire tool down. What is wrong with it?

    You have a loop there.

    There are a lot of actions in that loop that are duplicated.

    For example you are setting 9 cells to 0 as 9 instructions

    Why don't you set the whole selection to 0 before you start?

    why are you switching to sheet "acceptance" within your loop? You are already there.

    what is this code doing inside your loop?

    Please Login or Register  to view this content.
    Surely all you needed was


    Please Login or Register  to view this content.
    Last edited by mehmetcik; 09-09-2013 at 03:06 PM.

+ 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. Code for email alerts from excel isn't working, wrong code possibly?
    By jessthorogood in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 07-27-2012, 01:45 AM
  2. vlookup not reading the entire number and returning the wrong value
    By tonbra in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-12-2012, 11:18 AM
  3. XP SP3 upgrade slowed my database queries down
    By jrickner in forum Excel General
    Replies: 4
    Last Post: 09-14-2009, 09:16 AM
  4. Tool bars - What am I doing wrong???
    By qwopzxnm in forum Excel General
    Replies: 1
    Last Post: 05-18-2007, 11:12 AM
  5. [SOLVED] with SP2, has the rand() function been slowed down ?
    By zan in forum Excel General
    Replies: 3
    Last Post: 08-22-2006, 09:15 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