TIA Steve H
Try something like the following:
Dim SaveTLC As Range
Dim SaveSelection As Range
Sub SaveLocation()
Set SaveTLC = ActiveWindow.VisibleRange(1, 1)
Set SaveSelection = Selection
End Sub
Sub ReturnLocation()
Application.Goto SaveTLC, True
Application.Goto SaveSelection, False
End Sub
Call the SaveLocation procedure prior to executing your code, and then call
ReturnLocation after your code is finished to return to the original
location.
--
Cordially,
Chip Pearson
Microsoft MVP - Excel
www.cpearson.com ch...@cpearson.com
<stev...@comcast.net> wrote in message
news:KaGdnSkj24I...@comcast.com...
Steve
"Chip Pearson" <ch...@cpearson.com> wrote in message
news:utf6mff...@TK2MSFTNGP11.phx.gbl...