+ Reply to Thread
Results 1 to 5 of 5

Conditional formatting with the color tab code

  1. #1
    Forum Contributor
    Join Date
    10-05-2014
    Location
    CALIFORNIA
    MS-Off Ver
    2010
    Posts
    1,719

    Conditional formatting with the color tab code

    Hello all,
    I was trying to resolve the issue in the Sheet1. My Sheet1 supposed to work like Sheet2.
    I added a conditional format in K8 so the sheet1 has a little different vba code than the sheet2.

    When you press tab the color tabbing supposed to follow where your cursor is.

    See my attachment sample worksheet.

    Thank you.
    Attached Files Attached Files

  2. #2
    Forum Expert Alf's Avatar
    Join Date
    03-13-2004
    Location
    Gothenburg/Mullsjoe, Sweden
    MS-Off Ver
    Excel 2019 and not sure I like it
    Posts
    4,758

    Re: Conditional formatting with the color tab code

    On the "Private Sub Worksheet_SelctionChange(ByVal Target As Range)" for Sheet1 try changing
    Please Login or Register  to view this content.
    To
    Please Login or Register  to view this content.
    Alf

  3. #3
    Forum Contributor
    Join Date
    10-05-2014
    Location
    CALIFORNIA
    MS-Off Ver
    2010
    Posts
    1,719

    Re: Conditional formatting with the color tab code

    Hi
    I did change it but the conditional formatting in K8 stop working.

  4. #4
    Forum Expert Alf's Avatar
    Join Date
    03-13-2004
    Location
    Gothenburg/Mullsjoe, Sweden
    MS-Off Ver
    Excel 2019 and not sure I like it
    Posts
    4,758

    Re: Conditional formatting with the color tab code

    This then, not pretty but it seems to work and keeps format in K8 as long as the cell contains "BANANA"

    Please Login or Register  to view this content.
    Alf

  5. #5
    Forum Contributor
    Join Date
    10-05-2014
    Location
    CALIFORNIA
    MS-Off Ver
    2010
    Posts
    1,719

    Re: Conditional formatting with the color tab code

    Hi,
    The code is ok but the problem is that when you tab it stays in cell K8.
    Everytime press tab key, it keep going back to that cell K8

+ 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. Conditional Formatting with a custom color code
    By RZEP in forum Excel Charting & Pivots
    Replies: 4
    Last Post: 06-01-2017, 10:00 AM
  2. Need to color code by time with conditional formatting
    By ibooklover123 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 09-12-2015, 08:15 AM
  3. Know the color code used in conditional formatting
    By krazyhype19 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-26-2014, 12:26 AM
  4. Replies: 3
    Last Post: 05-30-2014, 10:24 AM
  5. Replies: 5
    Last Post: 12-07-2013, 02:21 PM
  6. get the color coding in conditional formatting using VBA code
    By ammupriyaa in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-04-2012, 07:13 AM

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