+ Reply to Thread
Results 1 to 5 of 5

Can code run faster

  1. #1
    Forum Contributor
    Join Date
    11-03-2004
    Posts
    139

    Can code run faster

    I want to Thank you in advance for your vast knowledge and advice which has helped me out beyond belief.
    Programming is not me because I don't understand all of it but can understand the basic...sort of. I was in need of coding that changed certain cells color and I was very happy with the code that was provided by davegugg. I took his code and added another sheet (MILES) and changed the color. Everything seems to be working just runs for alittle longer than I expected. This spreadsheet will be on a network which can be slow to the field so I'm just checking to see if there is a way to speed up the code? If not then I will run with it as it is.

    the DR, FH,CL, MT tabs will never be more 3,000 rows
    The LOA and Miles tabs will never have more than 300 rows

    Please Login or Register  to view this content.
    "This is the section I added but I really only need it to look through the DR tab"

    Please Login or Register  to view this content.
    Thanks
    Michelle
    Last edited by leem; 08-16-2010 at 11:51 AM. Reason: needed to add code tags

  2. #2
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200

    Re: Can code run faster

    Your post does not comply with Rule 3 of our Forum RULES. Use code tags around code. Posting code without them makes your code hard to read and difficult to be copied for testing. Highlight your code and click the # at the top of your post window. For more information about these and other tags, found here
    Hope that helps.

    RoyUK
    --------
    For Excel Tips & Solutions, free examples and tutorials why not check out my web site

    Free DataBaseForm example

  3. #3
    Forum Contributor
    Join Date
    11-03-2004
    Posts
    139

    Re: Can code run faster

    Didn't know about code tags but now I do...thank you.

    I want to Thank you in advance for your vast knowledge and advice which has helped me out beyond belief.
    Programming is not me because I don't understand all of it but can understand the basic...sort of. I was in need of coding that changed certain cells color and I was very happy with the code that was provided by davegugg. I took his code and added another sheet (MILES) and changed the color. Everything seems to be working just runs for alittle longer than I expected. This spreadsheet will be on a network which can be slow to the field so I'm just checking to see if there is a way to speed up the code? If not then I will run with it as it is.

    the DR, FH,CL, MT tabs will never be more 3,000 rows
    The LOA and Miles tabs will never have more than 300 rows

    Please Login or Register  to view this content.
    "This is the section I added but I really only need it to look through the DR tab"

    Please Login or Register  to view this content.
    Thanks
    Michelle

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

    Re: Can code run faster

    Try this (completely untested):
    Please Login or Register  to view this content.
    Entia non sunt multiplicanda sine necessitate

  5. #5
    Forum Contributor
    Join Date
    11-03-2004
    Posts
    139

    Re: Can code run faster

    Thank you very much and yes it runs much faster. Awesome! I don't want to sound unappreciative but I was also trying to distinquish gray for those on LOA (this would bring attention to those on leave or restriction) and light orange for the MILES (this would bring attention to those that drove miles instead of working hours). Never would there be a conflict between LOA and MILES colors.

    Thanks
    Michelle

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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