Forum Discussion

Mac_Ridder's avatar
Mac_Ridder
Copper Contributor
Aug 27, 2024
Solved

Background color in Excel

When I reference another cell using “=”, I don't get the background color. Is it possible? Regards
  • HansVogelaar's avatar
    HansVogelaar
    Aug 28, 2024

    Mac_Ridder 

    The attached workbook demonstrates an approach using the Worksheet_Activate event procedure of Sheet 2. The colors will be updated when Sheet 2 is activated.

    You will have to allow macros when you open the workbook.

    To view/edit the code, right-click the sheet tab of Sheet 2 and select 'View Code' from the context menu.

Resources