Question: Please Answer ASAP!! ONLY Questions 4 - 6 , I have provided my excel VBA Macro Code but it does not show the highlights of

Please Answer ASAP!! ONLY Questions 4-6, I have provided my excel VBA Macro Code but it does not show the highlights of the corresponding cell. Thank you in advance!!
Sub FindItems ()
|
Dim searchValue As Variant
Dim cell As Range
searchValue = InputBox ("Please Enter An Item )
If searchValue = Or Not IsNumeric (searchValue) Then
MsgBox "Please enter a valid Item#"
Exit Sub
End If
Range (D:D). Interior, ColorIndex =x1 None
For Each cell In Range ("D1:D" & Cells (Rows.Count, "D"). End (x1Up). Row) If cell. Value = searchValue Then
cel1. Interior, Color = vbYellow
End If
Next cell
Range ("A1"). Select
MsgBox "Search complete. Item# " searchValue & " found."
End Sub
 Please Answer ASAP!! ONLY Questions 4-6, I have provided my excel

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!