I have used this code in the past, but today it is not working for some reason. I have scoured the internet for answers, and from what I have read my InputBox is set up correctly. When i use the hard coded range my messageBox returns the correct cell values, but when I use the inputbox no values are returned.
I am fairly new to coding in VBA, and this seems like it should be an easy fix. Hopefully someone can help :)
Dim rRng As Range
Dim rCell As Range
Set rRng = Application.InputBox(Prompt:="Select Cells to check", Type:=8)
'Set rRng = Sheets("Table 3-1").Range("F11:F13")
For Each rCell In rRng.cells
a = rCell.Value
MsgBox "Cell Value is: " & a
Next