INKEY and VBA

J

John Hayes

Hi,

Is there a VBA equivalent to INKEY to get input from the
keyboard?

Regards

John
 
J

Jake Marx

Hi John,

You're probably looking for InputBox:

Dim sAnswer As String

sAnswer = Application.InputBox("Please enter text:","TEST","Default")

MsgBox sAnswer
 
Top