Hi everyone,
I'm trying to detect when a cell is selected. If cell A1 is selected and the user selects cell B5 (just a simple mouse click) but doesn't enter anything, can I detect that B5 was selected?
Thanks.
Hi everyone,
I'm trying to detect when a cell is selected. If cell A1 is selected and the user selects cell B5 (just a simple mouse click) but doesn't enter anything, can I detect that B5 was selected?
Thanks.
Hi,
You could use VBA code on the Worksheet SelectionChange event.
Copy this simple code in the VBA editor in sheet 1 ; and then click a cell.
Msgbox will appear with the selected cell's address.
Please Login or Register to view this content.
Thanks, That works great. I was under the misconception that the contents of the cell had to be changed before this would work.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks