Macro AutoRun

SiGill

Registered User.
Local time
Today, 13:20
Joined
Dec 22, 2008
Messages
72
I have a macro that runs when a value is changed in a cell. But it moves me to Cell A1 once run and I have to click back to where I was, i.e. line 200.

Is there a way to get the macro to run but then to take me back to the cell I was in?

Code at the moment is just

Private Sub Worksheet_Change(ByVal Target As Range)
Call Sort
End Sub

Thanks
 
Code:
Private Sub Worksheet_Change(ByVal Target As Range)
Call Sort
target.select
End Sub
 

Users who are viewing this thread

Back
Top Bottom