+ Reply to Thread
Results 1 to 3 of 3

Code to highlight rows

  1. #1
    Forum Contributor
    Join Date
    08-15-2006
    Location
    USA
    MS-Off Ver
    Office 365, 64 bit
    Posts
    362

    Code to highlight rows

    I'm using a code provide to me through this great forum... the code highlights rows as you click any cell so that the users can easily glance left/right through data. The code works wonderfully except that sometimes for some reason I can't figure out, the code where the highlighted row was after saving stays highlighted even tho I click on another cell. So a row will remain highlighted yellow while the code functions well in other areas of the sheet. I've attached a sample where it occurred and I'm trying to see if that could be fixed. Thanks...
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    03-28-2012
    Location
    TBA
    MS-Off Ver
    Office 365
    Posts
    12,454

    Re: Code to highlight rows

    When I opened the book, I got an error on this line

    Please Login or Register  to view this content.
    I do not know what the code does, but there is range object set with, but there is no if statement. I added one, but not sure if this corrects the error. This is poor guess.
    Please Login or Register  to view this content.
    Last edited by AB33; 07-09-2013 at 05:27 PM.

  3. #3
    Forum Contributor
    Join Date
    08-15-2006
    Location
    USA
    MS-Off Ver
    Office 365, 64 bit
    Posts
    362

    Re: Code to highlight rows

    I just tested the adjusted code and it still occurs - when you save, close the file and reopen, the previously location of the highlighted row stays highlighted even if you click elsewhere... it should not remain highlighted...

+ 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