Hi All, this is my first time using this, i hope someone can help.
I am filtering data using the following code
Dim sh As Worksheet
Set sh = ActiveSheet
sh.Unprotect "121"
sh.Range("B7:B2000").AutoFilter Field:=1, Criteria1:="=*" & InputBox("Reset Sheet", "Part Number Search", "*")
This will filter all my records and give me a single line of data, on row 7 "Perfect"
The problem is when i filter the data it filters the top rows so the data could be on row 7 or row 5o.
I then need to add a second input box in to allow the user to enter a value using the following code
myVal = InputBox("Enter New Count")
Range("H7").Value = myVal
BUT this is the trick, how do i enter the new value on the filtered line when the filtered line could now be "H50" or "Hxxxxx"
Regards
Greg
I am filtering data using the following code
Dim sh As Worksheet
Set sh = ActiveSheet
sh.Unprotect "121"
sh.Range("B7:B2000").AutoFilter Field:=1, Criteria1:="=*" & InputBox("Reset Sheet", "Part Number Search", "*")
This will filter all my records and give me a single line of data, on row 7 "Perfect"
The problem is when i filter the data it filters the top rows so the data could be on row 7 or row 5o.
I then need to add a second input box in to allow the user to enter a value using the following code
myVal = InputBox("Enter New Count")
Range("H7").Value = myVal
BUT this is the trick, how do i enter the new value on the filtered line when the filtered line could now be "H50" or "Hxxxxx"
Regards
Greg