Keywords:
Situation:
Your program needs input from the user. You know exactly how many elements you need, and what type each one is. The tip program is an example.
Actions:
Use the InputBox
function.
Explanation:
Use the InputBox
function, like this:
amount = InputBox("How much was the bill?")
The prompt can be any string expression.
InputBox
always returns a string. If you want numeric data, validate the user's data.