+ Reply to Thread
Results 1 to 3 of 3

Highlight Row and Column on specific range only.

  1. #1
    Forum Contributor
    Join Date
    07-28-2015
    Location
    london
    MS-Off Ver
    Microsoft Office 365
    Posts
    113

    Highlight Row and Column on specific range only.

    Hi

    I was trying to highlight specific rows and columns with conditional formatting and this formula

    =COLUMN()=CELL("col")
    =ROW()=ROW("row")

    and VBA lines

    Application.ScreenUpdating = True

    It's working fine and it highlights the rows and columns when I click on any cell.

    But this is highlighting all columns that has the same formula in the worksheet.

    The result I'm looking for is exactly the same but only highlighting the range within a chosen range in the same worksheet.

    Say: group of A1:10 if I click in between it will highlight only that column within that group only, and another group say A20:A30 when I click in between it will only highlight A20:A30 then A1:10 is not highlighted. And hoping I could do the same in rows.

    Any help is greatly appreciated.

    Thank you very much.

  2. #2
    Forum Expert BMV's Avatar
    Join Date
    01-13-2020
    Location
    St-Petersburg, Russia
    MS-Off Ver
    2013-2016
    Posts
    1,329

    Re: Highlight Row and Column on specific range only.

    Please Login or Register  to view this content.
    If you really need 1:10 and 20:30 then formula should be corrected but please attach your example.
    Attached Files Attached Files
    Last edited by BMV; 03-30-2020 at 04:33 PM.

  3. #3
    Forum Contributor
    Join Date
    07-28-2015
    Location
    london
    MS-Off Ver
    Microsoft Office 365
    Posts
    113

    Re: Highlight Row and Column on specific range only.

    Hi BMV

    This is exactly what I'm looking for.

    Thank you very much for your help.

    Kind regards.

    P.S

    I have attached a sample. And find it a bit difficult to change for the next few groups. Hope this will give you a clear idea on what I'm trying to do.

    Thank you.
    Attached Files Attached Files
    Last edited by sickreto; 03-30-2020 at 05:35 PM. Reason: Attaching a sample

+ 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] highlight specific row range
    By stephme55 in forum Excel General
    Replies: 4
    Last Post: 01-30-2016, 01:50 AM
  2. highlight a specific cell in a range when changed
    By matt260384 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 03-17-2014, 11:53 AM
  3. Specific Text in Range then highlight cell
    By gingank in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 06-11-2013, 10:41 AM
  4. [SOLVED] Cond. formatting a column/Range, highlight cell in column/range if equal to specific text
    By DFrank231 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 03-19-2013, 03:35 PM
  5. [SOLVED] Highlight cells of a particular value or within a specific range
    By DJS22867 in forum Excel General
    Replies: 3
    Last Post: 06-29-2012, 10:11 AM
  6. Highlight doubleclicked cells of a specific range
    By taya in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-28-2010, 04:40 PM
  7. highlight cells with values outside a specific range
    By excel_dumdum in forum Excel - New Users/Basics
    Replies: 1
    Last Post: 09-21-2009, 09:40 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