How do I get an excel macro to stop at a cell & wait for imput?

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

What can be used to replace the "{?}" command used in lotus macros to pause
and wait for data entry? The lotus macro worked fine in excel 97 but after
switching to excel 2003 did not.
 
You can use the inputbox, as in:
Sub test()
Dim YourInput As String
YourInput = InputBox("What is your input?")
MsgBox ("Your input was " & YourInput)
End Sub
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top