Hello,
I wanted to adjust the row scroll when the following code runs.
the above code will take me to the first instance of a word starting from the letter "b" however, the row will sometimes be down the screen or sometimes on top of the screen and other times at the center. Could someone program it so the searched word is at the center of the screen always.
will appreciate.
Thank u.
I wanted to adjust the row scroll when the following code runs.
Code:
Sub search_a()
Dim Fnd As Range
Set Fnd = Range("H:H").Find("b*", , xlValues, xlWhole, , , False, False)
If Not Fnd Is Nothing Then Cells(Fnd.Row, ActiveCell.Column).Activate
End Sub
the above code will take me to the first instance of a word starting from the letter "b" however, the row will sometimes be down the screen or sometimes on top of the screen and other times at the center. Could someone program it so the searched word is at the center of the screen always.
will appreciate.
Thank u.