Excel automatic Evaluate Formula Step-in links

tjohannvr

New Member
Joined
Jul 21, 2011
Messages
2
Hi there

I'm working in Excel 2007 and have links of the following format in cells:

='2002'!$J$11

If I go to the menu Formulas -> Evaluate Formula -> Step in then
I can go to the source of the data in the formula.

Is there a more automatic way in which to achieve this? I would
like to, say, double click on the cell containing the formula above and that should take me to the correct sheet.

Thanks for your time and help

TJ van Rooyen
 

Excel Facts

Repeat Last Command
Pressing F4 adds dollar signs when editing a formula. When not editing, F4 repeats last command.
As long as you select the desired cell first, this should work (apply a shortcut to this Macro and then you'll be all set):
Code:
Sub GoToSource()
'
' GoToSource Macro
'
Dim source As String
source = Mid(ActiveCell.FormulaR1C1, 2)

Application.Goto Reference:=source
'
End Sub

Let me know if you have problems.
cheers.
 
Upvote 0
Thanks for the fast reply.

I was unable to access the reply at first because there were a server/database
error.

It works perfectly, thank you.

Regards
 
Upvote 0

Forum statistics

Threads
1,224,508
Messages
6,179,189
Members
452,893
Latest member
denay

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