+ Reply to Thread
Results 1 to 9 of 9

Create Teams Taking So Long Now

  1. #1
    Banned User!
    Join Date
    10-12-2018
    Location
    Texas
    MS-Off Ver
    2010
    Posts
    358

    Create Teams Taking So Long Now

    Hello,

    I have a Team Generator! sheet with a macro to randomly generate teams by clicking the green shape 'CREATE TEAMS'. It seems to work but is taking a long time.

    Can someone please see why this is so slow?

    Thank you very much for your help,
    XJ

  2. #2
    Forum Expert Logit's Avatar
    Join Date
    12-23-2012
    Location
    North Carolina
    MS-Off Ver
    Excel 2019 Professional Plus - 2007 Enterprise
    Posts
    7,014

    Re: Create Teams Taking So Long Now

    .
    How long does it take for your machine ?

    Mine : 4 secs.

    Win 10 / 64 bit / Excel 2007

  3. #3
    Banned User!
    Join Date
    10-12-2018
    Location
    Texas
    MS-Off Ver
    2010
    Posts
    358

    Re: Create Teams Taking So Long Now

    It went from a few seconds to about 30 now. I thought maybe the code is not efficient.

  4. #4
    Banned User!
    Join Date
    10-12-2018
    Location
    Texas
    MS-Off Ver
    2010
    Posts
    358

    Re: Create Teams Taking So Long Now

    Thank you Logit for replying.

  5. #5
    Forum Guru xladept's Avatar
    Join Date
    04-14-2012
    Location
    Pasadena, California
    MS-Off Ver
    Excel 2003,2010
    Posts
    12,378

    Re: Create Teams Taking So Long Now

    Nice adaptation to the code - it takes between 11 and 12 seconds using:

    Please Login or Register  to view this content.
    If I've helped you, please consider adding to my reputation - just click on the liitle star at the left.

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~(Pride has no aftertaste.)

    You can't do one thing. XLAdept

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~aka Orrin

  6. #6
    Banned User!
    Join Date
    10-12-2018
    Location
    Texas
    MS-Off Ver
    2010
    Posts
    358

    Re: Create Teams Taking So Long Now

    Thank you but I don't understand???

    I am not trying to time the run of the code. I just noticed that it is running slower than before for some reason.

    Do you think my 'CREATE TEAM' code can be improved to run faster?

  7. #7
    Forum Guru xladept's Avatar
    Join Date
    04-14-2012
    Location
    Pasadena, California
    MS-Off Ver
    Excel 2003,2010
    Posts
    12,378

    Re: Create Teams Taking So Long Now

    Well - it's not skipping anything now. Unsure whether it can be sped up

  8. #8
    Banned User!
    Join Date
    10-12-2018
    Location
    Texas
    MS-Off Ver
    2010
    Posts
    358

    Re: Create Teams Taking So Long Now

    Okay I appreciate you taking a look. I suppose I will leave this open for now.

  9. #9
    Forum Guru xladept's Avatar
    Join Date
    04-14-2012
    Location
    Pasadena, California
    MS-Off Ver
    Excel 2003,2010
    Posts
    12,378

    Re: Create Teams Taking So Long Now

    You're welcome and thanks again for the rep!

+ 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. [SOLVED] For Each loop taking long to run
    By Jay S. in forum Excel Programming / VBA / Macros
    Replies: 18
    Last Post: 08-07-2018, 01:08 PM
  2. When Refresh All is taking too long....
    By dd510 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 10-28-2014, 12:29 PM
  3. taking too long to load2
    By muhdass in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 09-19-2013, 05:22 AM
  4. taking too long to load
    By muhdass in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 09-18-2013, 11:54 PM
  5. [SOLVED] Issue - IE8 taking long to respond
    By arlu1201 in forum Suggestions for Improvement
    Replies: 2
    Last Post: 03-16-2012, 04:08 AM
  6. Is there anyway to see why ScreenUpdating is taking so long?
    By foxguy in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 10-11-2011, 04:17 AM
  7. Macro taking too long time to run
    By sharmanjali87 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 12-02-2010, 07:08 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