I have a form with a textbox that i enter in an IMEI number into. When i hit save, i want to find the IMEI number on sheet2 called Inventory and the IMEI numbers in coloum B, and delete the entire row. Please help!
I have a form with a textbox that i enter in an IMEI number into. When i hit save, i want to find the IMEI number on sheet2 called Inventory and the IMEI numbers in coloum B, and delete the entire row. Please help!
Please Login or Register to view this content.
Last edited by Tinbendr; 06-28-2012 at 01:36 PM.
David
(*) Reputation points appreciated.
This does not work, get an error unvalid or unqualified reference at ".Rows"
Also, can we make this a method?
Last edited by JDExcel; 06-28-2012 at 01:19 PM.
Mismatch error
Please Login or Register to view this content.
Last edited by JDExcel; 06-28-2012 at 02:06 PM.
I added the code that I edited that you gave so you could see my naming convention.
Please Login or Register to view this content.
Still not working, no errors though.
Still not working, please help!
I have tried this as well. still nothing is working.
Please Login or Register to view this content.
Step through this code with F8 and hover with the mouse over the different objects and see what they're returning.
Other things to check:
Go to immediate window and type Worksheets("Inventory").Range("IMEIRange").select and make sure the range IS selected.
Type ? Me.IMEITextBox.Value It should return the value in the textbox. What is ME? Is it a userform or a textbox on a sheet? You may have to specify ME. e.g. Sheet1.IMEITextBox.Value or Userform2.IMEITextBox.Value
The default Find is for the Whole word. Are there any trailing spaces on the IMEI numbers in the column? If so, maybe switch the Find to LookAt:=xlPart
Last edited by Tinbendr; 06-29-2012 at 02:21 PM.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks