ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Charts and Charting in Excel (https://www.excelbanter.com/charts-charting-excel/)
-   -   Detect Cell Colour (https://www.excelbanter.com/charts-charting-excel/195866-detect-cell-colour.html)

MayJuneJuly

Detect Cell Colour
 
I have a worksheet with a2-ak as the month, a3-a10 as the practice and b3-k10
as the data. I saw on a website a way that if you move the mouse over to the
titles of the month or practice and click on them a graph will appear
depending on where you click. (The months were coloured orange and the
practice coloured blue.) You just click outside of the data to make it
disappear. How do I set up my worksheet to do this?

example
Jan Feb Mar Apr
BSI 1 5 10 2
CEI 3 20 2 5

Wigi

Detect Cell Colour
 
You will want to delve into a Worksheet_SelectionChange event macro.



--
Wigi
http://www.wimgielis.be = Excel/VBA, soccer and music


"MayJuneJuly" wrote:

I have a worksheet with a2-ak as the month, a3-a10 as the practice and b3-k10
as the data. I saw on a website a way that if you move the mouse over to the
titles of the month or practice and click on them a graph will appear
depending on where you click. (The months were coloured orange and the
practice coloured blue.) You just click outside of the data to make it
disappear. How do I set up my worksheet to do this?

example
Jan Feb Mar Apr
BSI 1 5 10 2
CEI 3 20 2 5



All times are GMT +1. The time now is 06:10 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com