Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I want to run a macro when the user clicks in a specific cell. In a
personal worksheet I put a button on the page and tied a macro to the button. In that case there was only one button. In the present case, the macro needs to do different things depending on what row is clicked. Because someone else will be maintaining the workbook and because the data will change frequently (with rows being added and deleted), I don't want to put a button in each row. My macro will determine its row, pull data from the same row in another worksheet, and display the data in a text box. I tried using a hyperlink from the source page to the data page, but the user didn't like that. I'm pretty sure I can get the macro to figure out the row of the cell that was clicked, so I really need to write only one macro. Is there a way I can fire a macro when a user clicks in a cell? BTW, I thought about having the user select a cell and then use the menus to launch the macro, but the user wants something simpler. Thanks, Bob |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Cell requires double click to 'activate' date format change | Excel Discussion (Misc queries) | |||
how to activate macro from cell | Excel Discussion (Misc queries) | |||
The cell I click on when coming from another app doesn't activate | Excel Discussion (Misc queries) | |||
How do I activate the right mouse click in Excel? | Excel Discussion (Misc queries) | |||
activate a cell value through a macro | Excel Discussion (Misc queries) |