Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Multiple input box excel VBA

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?

like image 814
Thatdude1 Avatar asked Oct 07 '13 16:10

Thatdude1


1 Answers

You could create a user form:

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

like image 195
Joseph Avatar answered Nov 18 '22 22:11

Joseph