formula auditing/macro

Y

ynissel

Can anyone give me the sytax to goto - special - precedents so I can create a
macro so I can assign to a hotkey and dont have to go through 4 steps ?
Thanks,
Yosef
 
B

Bernard Liengme

With A1=1 and D2=2*A1, and D1 as active cell:
I recorded a macro for these steps:
Edit|GoTo->Special->Precedence
And the macro contained just one line:
Selection.DirectPrecedents.Select
best wishes
 
Top