+ Reply to Thread
Results 1 to 6 of 6

Changing Background Color for Active Cells, then back to Previous Color...

  1. #1
    Registered User
    Join Date
    11-18-2007
    Posts
    4

    Changing Background Color for Active Cells, then back to Previous Color...

    Good Afternoon,

    I would like to be able to change the background colors of all cells from white to blue, while still being able to have the active cell show up as yellow. I need some help here...everything seems to end up back with the white background (except for the active cell being yellow). Below is the code I am using:

    Please Login or Register  to view this content.
    Any help here would be greatly appreciated! Many thanks in advance...


    TMCinDC
    Last edited by alansidman; 04-12-2016 at 02:58 PM.

  2. #2
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 insider Version 2504 Win 11
    Posts
    24,705

    Re: Changing Background Color for Active Cells, then back to Previous Color...

    Code Tags Added
    Your post does not comply with Rule 3 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



    (Because you are new to the forum, 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
    Forum Guru Winon's Avatar
    Join Date
    02-20-2007
    Location
    East Rand, R.S.A.
    MS-Off Ver
    2010
    Posts
    6,113

    Re: Changing Background Color for Active Cells, then back to Previous Color...

    Post removed, Code tags were added.
    Last edited by Winon; 04-13-2016 at 11:30 AM.
    Please consider:

    Be polite. Thank those who have helped you. Then Click on the star icon in the lower left part of the contributor's post and add Reputation. Cleaning up when you're done. If you are satisfied with the help you have received, then Please do Mark your thread [SOLVED] .

  4. #4
    Registered User
    Join Date
    11-18-2007
    Posts
    4

    Re: Changing Background Color for Active Cells, then back to Previous Color...

    Sorry Guys,

    I hope I can receive help just as quickly as I received notification of not following the forum rules.
    Hope this helps...if this is still incorrect, please let me know...thanks.

    Please Login or Register  to view this content.

  5. #5
    Registered User
    Join Date
    11-18-2007
    Posts
    4

    Re: Changing Background Color for Active Cells, then back to Previous Color...

    Sorry...is this correct? Any help please....thanks!


    Please Login or Register  to view this content.

  6. #6
    Forum Guru Winon's Avatar
    Join Date
    02-20-2007
    Location
    East Rand, R.S.A.
    MS-Off Ver
    2010
    Posts
    6,113

    Re: Changing Background Color for Active Cells, then back to Previous Color...

    Hello TMCinDC,

    Please try the Code below:

    Please Login or Register  to view this content.

    Regards.

+ 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. 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
  2. Replies: 4
    Last Post: 12-29-2013, 11:41 PM
  3. [SOLVED] Color Index to sum up cells based on background color
    By jph89 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-16-2013, 03:23 PM
  4. Setting background color with VBA removes gridlines -- how to bring back
    By chasdl in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 02-10-2013, 05:27 PM
  5. Changing the back color of the cells using vba
    By aman1234 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 06-29-2012, 06:39 AM
  6. [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
  7. Macro for changing background color of the cells
    By rishuverma in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 10-21-2008, 09:52 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