Get the cell by click on it

Hi, I have to make the cell filled with some color right after I click on it. Is it possible using API?

I know there’s a way to get the cell (ApiRange) after we edited it, but I need it right after we make it Select. I also know there’s a GetSelection() method but then I have to launch a macro every time I click on any cell, is it possible then?
Thanks!

Hello,
Please describe your use case scenario in more detail. How would you like to define which color is applied to the cell which is selected?

I don’t have to define the color. The question is, is there a way to get the cell by click (manual selection)? For example, so I could get the ApiRange object and use SetFillColor method. Or any other ways to get access to the clicked (manually Selected) cell that return anything besides ApiRange but stilll lets to get access to the chosen cell?

Unfortunately, there is currently no way to do it. A specific event that reacts to the selection of a cell would be needed