Article ID: 193246
Article Last Modified on 6/17/2005
Sub ScrollToObject()
Dim ObjName As String
On Error GoTo Finish
ObjName = Application.InputBox(Prompt:="What is the object name?", _
Title:="Identify the Object")
ActiveWindow.ScrollRow = _
ActiveSheet.DrawingObjects(ObjName).TopLeftCell.Row
ActiveWindow.ScrollColumn = _
ActiveSheet.DrawingObjects(ObjName).TopLeftCell.Column
Exit Sub
Finish:
MsgBox "Object name is invalid"
End Sub
Additional query words: XL98
Keywords: kbhowto kbdtacode KB193246