Hi Riz,
You use differect cell background color (although they both are green, but not the same color).
I have modified the code to apply the new color, also change it to use listobject.
You can see the code use different RGB value :
in first code (in post #2) : RGB(153, 204, 0)
in second code (in this post) : RGB(146, 208, 80)
In case you will use some other color in the future, and you want to know the RGB value of the cell background color, you can use this code :
First, click the cell which its background color is to be retrieved, and then run the RGB_Of_ActiveCell sub.
Bookmarks