I tried this macro.
'
' Findthelocation Macro
'
'
ActiveSheet.Paste
Selection.Copy
Range("K5").Select
Selection.PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
Application.CutCopyMode = False
Selection.Copy
Application.Goto Reference:="Inputs!R9C3"
End Sub
Cell K5 is having different values which Macro copies, paste it into Goto bar. So I would like to have dynamic location (whatever macro copy and paste in to Goto bar) rather having "Inputs!R9C3". So whatever Macro copies, it paste into Goto bar and point towards that particular location. Can any one please help solving this?
Thanks for reading and putting your time.