You can write a sheet specific macro. that will run on double clicking inside a cell.
right click on the tab at the bottom of excel that has the name of the sheet. Select view code.
VBA will open
select on double click at the top right of vba [ Just below the vba tool bars ]
Paste your code within the macro that will be created by vba for you.