This is my code:
qty = InputBox("Please enter the quantity to be added.", "Add Quantity")
Cells(row, 2) = qty
Description = InputBox("Please enter a description.", "Enter Description")
Cells(row, 3) = Description
Unitp = InputBox("Please enter a unit price.", "Enter UnitPrice")
Cells(row, 4) = Unitp
Amount = InputBox("Please enter an amount.", "Enter Amount")
Cells(row, 5) = Amount
Qty & Unitp is getting displayed correctly in Excel. However, when I enter characters in the Description input box then it throws an error. But if I enter no. it goes through but displays as FALSE in the Excel cell. This is the case for both Descripton & Amount.
Can someone help?
Descriptiondefined?Dim Description As Boolor so?