Create a search box and then copy to new worksheet. Please help
Closed
ctran123
Posts3Registration dateWednesday January 21, 2015StatusMemberLast seenMarch 3, 2015
-
Mar 3, 2015 at 11:17 AM
Hello, this is what I have so far by searching online and it is not working :( It keeps sending me a message " Variable not defined "
Please help me !!! I really appreciate it.
The data is in Sheet3 and the textbox is inserted in Sheet4.
In Sheet4, insert a textbox (named as textbox1) and a command button (named as commandbutton1), the right click the commandbutton, select View Code, copy the following code then. Change the sheet name in the code where for sheet_search and sheet_paste.
Private Sub CommandButton1_Click()
Dim search_value As String
Dim loop_rows As Integer
Dim loop_i As Integer
Dim sheet_search As String
Dim sheet_paste As String
`Change the sheet name in the following two lines.