+ Reply to Thread
Results 1 to 5 of 5

VBA code not highlighting row

  1. #1
    Forum Contributor keshavtale's Avatar
    Join Date
    03-13-2013
    Location
    india
    MS-Off Ver
    excel 2010
    Posts
    522

    VBA code not highlighting row

    please see attached file there is two files attached in jam file there is VBA code when we enter any data in column D it highlights that row in yellow color where data entered
    but same code i copied in pana file but it is not working also i want that highlight row when i entered data in any cell also i want that highlight whole row
    please give me solution for that problem why VBA code not working
    Attached Files Attached Files

  2. #2
    Forum Expert bebo021999's Avatar
    Join Date
    07-22-2011
    Location
    Vietnam
    MS-Off Ver
    Excel 2016
    Posts
    9,645

    Re: VBA code not highlighting row

    1- I cound not find any code script in "pana". Or I miss something?
    2- Code in "jam", why you placed the code in workbook module, while it seems only "sheet 1" need to change color?
    May be try to put it in Sheet 1 module?
    Quang PT

  3. #3
    Forum Contributor keshavtale's Avatar
    Join Date
    03-13-2013
    Location
    india
    MS-Off Ver
    excel 2010
    Posts
    522

    Re: VBA code not highlighting row

    I once again attached pana file with VBA code and also attached screenshot of error
    Attached Images Attached Images
    Attached Files Attached Files

  4. #4
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    30,730

    Re: VBA code not highlighting row

    Please Login or Register  to view this content.

    In Sheet1 module:

    And you FIND "Total" which does exit in Sheet1! in D283 ???
    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED.

  5. #5
    Forum Contributor keshavtale's Avatar
    Join Date
    03-13-2013
    Location
    india
    MS-Off Ver
    excel 2010
    Posts
    522

    Re: VBA code not highlighting row

    Is it possible that without entering word TOTAL in D column that VBA code works if possible please do that and also do one more thing please highlight whole row

+ 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. Code for Highlighting cells linked to formula
    By Ahmed_OMAN in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-13-2023, 05:56 PM
  2. VBA Code for Highlighting Cells based on If then Rules
    By SKD7 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 11-20-2022, 02:21 AM
  3. VBA code shortening - HIGHLIGHTING CELLS
    By RysiuTaxiDriver in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 09-07-2021, 10:28 AM
  4. Comparison Between Column Values and Highlighting with VBA Code
    By Quivolt in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 04-27-2018, 06:04 AM
  5. Help simplifying a filtering/highlighting code
    By BG1983 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 03-17-2016, 08:47 AM
  6. [SOLVED] VBA Code for highlighting cells if it appears elsewhere
    By mpgates in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 12-11-2013, 02:28 AM
  7. code not highlighting errors in columns.
    By missy22 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 12-12-2012, 02:03 PM

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