Macro text input

  • Thread starter Thread starter Guest
  • Start date Start date
Len

In simplest terms.....

Sub gronk()
Range("A1").Value = InputBox("enter your text please")
End Sub

Gord Dibben Excel MVP
 
-----Original Message-----
How can I have a macro request a text input to a specific cell?
.
Len

Use the Input box method

Sub test()
Dim d
d = InputBox("Enter the first Date", "First Day of
Year", "01/01/04")
Range("A1") = d
End Sub

Regards
Peter
 
Back
Top