11

Right now I've been using multiple Input boxes to get user input for a couple of strings i need:

 Dim U As String
 Dim P As String

U = Application.InputBox("Enter Username", "Username", Type:=1))
P = Application.InputBox("Enter Pwd", "pwd", Type:=1))

etc ..

Is there any way I can make an input box with multiple inputs or some sort of multiple input into an Excel worksheet using VBA?

1
  • UserForms are the way to go, per the answer below. Commented Oct 7, 2013 at 16:52

1 Answer 1

13

You could create a user form:

http://www.excel-vba-easy.com/vba-userform-excel-vba.html

Sign up to request clarification or add additional context in comments.

1 Comment

Bare Links are not answers :) This should be a comment.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.