How to Create an Input Box in Excel VBA

Video Preview

Summary: Create an input box in Excel VBA by opening up the VB editor and using the controls to assign a macro window. Log onto the All Programs feature to make an input box in Excel VBA with help from a software developer in this free video on general computer tips.

Views:
1,873
Presenter
By Dave Andrews
eHow Presenter

Dave Andrews is a software developer with a business and Web site selling programs and other computer services in Franklin, Tenn. Having worked in the IT industry for more than 8...read more

Post a Comment

Post a Comment

Video Transcript

"Hi my name is Dave Andrews and today I am going to show you how to create an input box in Excel VBA. Let's open up Excel by clicking on the start button and going to all programs, office, and Excel. Now we need to open up the Excel VBA and to do that hold down the All key on your keyboard, press F11. This opens up the VB editor and what we want to do is go to the top and select insert, select user form. This pulls up the new form for us to drop what are called controls on. The control that we want is the text box and so just grab the text box and just drag it right there on to our form. Now that we have our form created we need to have some way for that form to be shown from Excel. So close the VBA and insert some kind of object I'm just going to say picture so find a picture and there, there is our object that is going to set off this user form. To cause it to do so we want to right click on the picture and say assign macro and now with the assigned macro window say new which opens up our VBA again and we want to say user form 1.show. Now we can close the VBA and click off of that picture and now as you can see my hand, my little cursor is a hand and if I click on that picture there is my user form and my info box. My name is Dave Andrews and I have just showed you how to create an input box using Excel VBA."

eHow Article: How to Create an Input Box in Excel VBA

Related Ads

  • Have you done this? Click here to let us know.
Computers
Alexia Petrakos,

Meet Alexia Petrakos eHow's Computers Expert.

Get Free Computers Newsletters

Copyright © 1999-2009 eHow, Inc. Use of this web site constitutes acceptance of the eHow Terms of Use and Privacy Policy.   en-US

eHow Computers
eHow_eHow Technology and Electronics