+ Reply to Thread
Results 1 to 2 of 2

Faster Code - Add employee with different trainings

  1. #1
    Registered User
    Join Date
    12-03-2014
    Location
    Manchester, England
    MS-Off Ver
    2007
    Posts
    23

    Question Faster Code - Add employee with different trainings

    Hello everyone,

    I have a code for a uniform that add employee and depending on the position in the company, it will add all the training that the person needs. BUT after the data is increasing, is becoming very slow. Is it possible to improve it? Help!

    Please Login or Register  to view this content.
    Thanks

  2. #2
    Forum Expert JasperD's Avatar
    Join Date
    05-07-2013
    Location
    Netherlands
    MS-Off Ver
    Excel 2016
    Posts
    1,393

    Re: Faster Code - Add employee with different trainings

    You could at least shrink the two loops to do one only as such:

    Please Login or Register  to view this content.
    however, I don't see the point of you looping at all - you don't actually do anything in the loop...

    you could do the following as well, which to me seems to do exactly the same weird thing that you're doing:

    Please Login or Register  to view this content.
    but then again, without seeing a sample file or understanding why you do all those loops, I really don't get the point
    Please click the * below if this helps

+ 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] Get a code to run faster
    By YasserKhalil in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 01-04-2015, 02:07 AM
  2. MS Excel 2010 Video Trainings
    By alexey.k in forum Excel General
    Replies: 2
    Last Post: 08-14-2013, 02:35 AM
  3. Replies: 2
    Last Post: 03-11-2013, 09:59 PM
  4. Can code run faster
    By leem in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 08-16-2010, 02:52 PM
  5. [SOLVED] Faster way to code this
    By jhahes in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 07-06-2006, 12:08 PM

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