As ALWAYS, post your code for comments.
Private Sub Worksheet_BeforeDoubleClick _
(ByVal Target As Range, Cancel As Boolean)
If Target.Address <> Range("g1").Address Then Exit Sub
Range(Target).Select
MsgBox "Went to target address"
Application.Goto Range(Target.Address)
End Sub
--
Don Guillett
Microsoft MVP Excel
SalesAid Software
(E-Mail Removed)
"Rohit" <(E-Mail Removed)> wrote in message
news

E0F631C-39C1-479D-A0E6-(E-Mail Removed)...
> hi,
> i have formula in cell A5 and when i double click, it takes me to the
> respective cell. my question how can i go back to that cell (A5)