Hi Guys!
I'm having trouble validating the following InputBox. The InputBox is asking for a revenue number which will be plugged into a cell. In anticipation of the user entering one of the following, how can I ensure that only the number gets entered into the cell.
Ex. $1,000, $1000, 1,000, 1000.00.
Currently, the only type that doesn't give me a mismatch is "1000".
![]()
Dim NetRevenue As Variant NetRevenue = Val(InputBox("What was weekly revenue?", "Net Food and Beverage Revenue", "$")) Sheets(1).Range("C1").Value = NetRevenue
Bookmarks