I am trying to have my inputbox dump a number into a specific cell. I have gotten this to work as far as prompting the box on the correct cell, however when I hit enter or click ok the cell remains blank. Does anyone have any idea how to fix?
Thanks!!
Sub DiscardPipe()
Dim str As String
Dim rtrn As String
Dim impu As Integer
With Worksheets(ActiveSheet.Name)
rtrn = ActiveSheet.Name
str = Range("e2").Value
Set SrchRng = Worksheets("Information").Range("J8:J17").Find(what:=str)
Sheets("information").Select
Range("J8:J17").Find(what:=str).Select
Selection.End(xlToRight).Select
Selection.End(xlToRight).Select
Selection.End(xlToRight).Select
Selection.End(xlToRight).Select
Selection.End(xlToRight).Select
Selection.End(xlToRight).Select
Selection.End(xlToRight).Select
Selection.End(xlToRight).Select
Selection.End(xlToRight).Select
Selection.End(xlToRight).Select
Selection.End(xlToRight).Select
Selection.End(xlToLeft).Select
ActiveCell.Offset(0, 1).Range("A1").Select
impu = InputBox("Enter New Bottom Pipe Serial Number", "New Pipe", 1)
End With
End Sub