+ Reply to Thread
Results 1 to 5 of 5

Find last row of A:A with data and stop

  1. #1
    Registered User
    Join Date
    10-23-2009
    Location
    USA
    MS-Off Ver
    Excel 2003, 2007, 2010
    Posts
    75

    Question Find last row of A:A with data and stop

    I have a while loop to color my rows down to row 2000 but all the time color way more than needed.

    I like to change the while loop or replace with better code statement that will see last row of (A:A) that has data and stop there, then to keep color code rows to 2000.


    Please Login or Register  to view this content.
    Last edited by MBCMDR; 11-11-2009 at 02:54 AM. Reason: Added full code

  2. #2
    Forum Expert ConneXionLost's Avatar
    Join Date
    03-11-2009
    Location
    Victoria, Canada
    MS-Off Ver
    2010
    Posts
    2,952

    Re: Find last row of A:A with data and stop

    So, this isn't an Access question?
    Would you like to say thanks? Please click the: " Add Reputation" button, on the grey bar below the post.

  3. #3
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: Find last row of A:A with data and stop

    Thread moved...

  4. #4
    Registered User
    Join Date
    10-23-2009
    Location
    USA
    MS-Off Ver
    Excel 2003, 2007, 2010
    Posts
    75

    Re: Find last row of A:A with data and stop

    Sorry I must have posted in wrong group as also doing an Access project but it doinmg much better than my excel macros LOL....

    MB

  5. #5
    Registered User
    Join Date
    10-23-2009
    Location
    USA
    MS-Off Ver
    Excel 2003, 2007, 2010
    Posts
    75

    Re: Find last row of A:A with data and stop

    I first posted in wrong fourm and this seem to have gotten lost because of me please see attached Sample of the color code.

    Marco on Worksheet "TOOLS" and controls color on worksheet "BOM"

    When you click the macro it color codes rows 3 - 2000 I just like it to color code the rows with data (A3:A) as each BOM project has its own parts kit and number of items.

    MB

    Figure it out fairly easy was over looking first idea..
    Here the change I did in the macro
    Please Login or Register  to view this content.
    MB
    Attached Files Attached Files
    Last edited by MBCMDR; 11-11-2009 at 02:56 AM.

+ 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