+ Reply to Thread
Results 1 to 3 of 3

Need to change background color of selected Row

  1. #1
    Registered User
    Join Date
    05-26-2020
    Location
    Paris, Kentucky
    MS-Off Ver
    Office365
    Posts
    2

    Need to change background color of selected Row

    I need help with VBA coding. I am using the following code to go to a row that contains information about a product. I would like for that row to have a light blue background while I am reading it and then back to white background when I go to the next part number.
    Can you update my code to make the row light blue?
    Please Login or Register  to view this content.
    Last edited by alansidman; 05-26-2020 at 04:50 PM.

  2. #2
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2405 Win 11 Home 64 Bit
    Posts
    23,908

    Re: Need to change background color of selected Row

    Code Tags Added
    Your post does not comply with Rule 2 of our Forum RULES. Use code tags around code.

    Posting code between [CODE]Please [url=https://www.excelforum.com/login.php]Login or Register [/url] to view this content.[/CODE] tags makes your code much easier to read and copy for testing, it also maintains VBA formatting.

    Highlight your code and click the # icon at the top of your post window. More information about these and other tags can be found at http://www.excelforum.com/forum-rule...rum-rules.html



    (I have added them for you today. Please take a few minutes to read all Forum Rules and comply in the future.)
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

  3. #3
    Registered User
    Join Date
    05-26-2020
    Location
    Paris, Kentucky
    MS-Off Ver
    Office365
    Posts
    2

    Re: Need to change background color of selected Row

    Alan,
    Sorry about not adding the Code Tags! Asking for help on forums is new to me.

+ 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. Replies: 8
    Last Post: 04-02-2016, 04:00 AM
  2. Change cell background color based on another cells background color
    By Queo in forum For Other Platforms(Mac, Google Docs, Mobile OS etc)
    Replies: 4
    Last Post: 06-10-2014, 05:28 AM
  3. [SOLVED] Macro to change all cells with a certain background color in another background color
    By kevinvzandvoort in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-13-2012, 11:04 AM
  4. change text color based on background color
    By great.bean in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 05-05-2009, 07:07 PM
  5. Conditional formatting: No background color when list item is selected
    By earthtodan in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 05-27-2008, 09:18 PM
  6. how can I conditionally change font color, or background color?
    By MOHA in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 08-21-2006, 01:57 PM
  7. [SOLVED] Change of text or background color doesn't change on the screen.
    By Susan in forum Excel General
    Replies: 5
    Last Post: 07-29-2005, 03:05 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