I am completely stumped, as far as I can tell I am only calling variables that I have already coded, when I debug it highlights Set Rng
Private Sub CommandButton1_Click()
Dim Prompt As String
Dim RetValue As String
Dim Rng As Range
Dim RowCrnt As Long
Promt = ""
With Sheets("Bin7in")
Do While True
RetValue = InputBox(Prompt & "Enter Die Number")
If RetValue = "" Then
Exit Do
End If
Set Rng = .Columns("C:C").Find(What:=RetValue, After:=.Range("C1"), _
LookIn:=x1Formulas, LookAt:=x1Whole, SearchOrder:=x1ByRows, _
SearchDirection:=x1Next, MatchCase:=False, SearchFormat:=False)
If Rng Is Nothing Then
MsgBox RetValue & "Not found"
Else
Bin = Rng.Columns("A:A")
MsgBox RetValue & "In Bin" & Bin
End If
Prompt = Prompt
Loop
End With
End Sub