Go back to where you were before the Macro

T

Trintrin

can anyone tell me how to edit a macro so that it takes you back t
where you were before you hot keyed the macro rather than the las
active point in the macro
 
D

Dave Peterson

dim myStartRng as range
set mystartrng = selection

'do your work

application.goto mystartrng
 
Top