Clicking(ONLY) a table cell to initiate actions

bowlesj

New Member
Joined
Aug 28, 2011
Messages
26
Hi,

With the help of Google searches I managed to get Excel VBA code working that causes my clicking on an Excel cell in a rows/columns table to initiate one or more actions that update other cells in the same row or even the clicked cell of that row. However moving the cursor into this cell from any direction with any keyboard keys (arrows, tab, shift+tab) also triggers the very same actions. So it appears that what I tried was in fact being executed by the "got focus" or "on enter" function as we MS-Access programmers would call it. I did several google searches and found no way to limit the action to a click as us Access programmers often do in a table with "On Click".

Does anyone know if Excel can initiate actions "On Click" only and where/how I might find examples?

Thanks,
John
 

Excel Facts

Select a hidden cell
Somehide hide payroll data in column G? Press F5. Type G1. Enter. Look in formula bar while you arrow down through G.
Might be worth reading......
 
Upvote 0
Might be worth reading......
Thanks for such a speedy reply Michael M. I will read it now. John.
 
Upvote 0

Forum statistics

Threads
1,223,885
Messages
6,175,181
Members
452,615
Latest member
bogeys2birdies

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top