From the course: Excel VBA: Managing Files and Data
Unlock the full course today
Join today to access over 22,600 courses taught by industry experts or purchase this course individually.
Add a TextBox to a UserForm - Microsoft Excel Tutorial
From the course: Excel VBA: Managing Files and Data
Add a TextBox to a UserForm
- There are many different controls that you can add to a user form to allow user input. In this movie, I will show you how to add a TextBox, which allows users to type in text that you would then transfer to a worksheet. My sample file is 0602 text box, and that's a macro enabled workbook you can find in the chapter six folder of the exercise files collection. We won't work with any of the worksheet data. So I'll press Alt + F11 to move to the visual basic editor. And here you that I have a user form already created, and the toolbox is visible on the left. If you don't see the toolbox, which is this box here, you can go up to the control bar and click the toolbox button. You could also go to view and click toolbox to display it. In this case, I want to add a TextBox from the toolbox, so I'll go down and activate the toolbox and click the text box control. Once I've selected the TextBox button, I can go onto the…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
-
-
-
-
-
(Locked)
Create a UserForm2m 38s
-
(Locked)
Add a TextBox to a UserForm3m 31s
-
(Locked)
Add a ListBox to a UserForm4m 52s
-
(Locked)
Add a ComboBox to a UserForm4m 55s
-
(Locked)
Add an option button to a UserForm3m 55s
-
(Locked)
Add graphics to a UserForm4m 28s
-
(Locked)
Add a SpinButton to a UserForm4m 16s
-
Create a multipage or multitab UserForm3m 50s
-
(Locked)
Write UserForm data to a worksheet7m 39s
-
(Locked)
Run a UserForm4m 8s
-
(Locked)
-
-