Searching with Textbox

The template has 56.666 rows.That is a pretty big page.
So do not worry. To search with textboxes in Excel Page is easy .

Example code:

Private Sub TextBox2_Change()
On Error Resume Next
metin = TextBox2.Value
Set bul = Range(“I4:I65000”).Find(What:=metin)
Application.Goto Reference:=Range(bul.Address), Scroll:=False
Selection.AutoFilter field:=9, Criteria1:=TextBox2.Value & “*”
If metin = “” Then
Selection.AutoFilter
[I4].Activate
End If
End Sub

Can Be Downloaded From Here

  1. No comments yet.
  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: