Building a data entry form with Excel VBA

Pondering23

New Member
Joined
Apr 3, 2019
Messages
2
Excel 2016, Windows 7.

I am trying to learn how to build a data entry form for a worksheet that contains more than 32 columns. When I searched the forum I found this post from someone with a similar question. Following that thread, I started working on the tutorial for Excel VBA Userform - Easy Excel Macros.

I followed the tutorial and successfully built the initial form with its various controls.

However, I hit a wall when I tried to sit up the 'Show the userform' portion of the tutorial. Per the tutorial, I:

1. opened the Visual Basic Editor
2. In the Project Explorer, right click on Dinner PlannerUSerForm and then click on View Code.

I hit a wall at:
3. Choose Userform from the left drop-down list. Choose initialize from the right drop-down list.

I can find the Userform from the left drop-down. However, I have been unable to find ANY right drop-down that has 'Initialize' as an option.

Suggestions?

Thanks for any guidance anyone can provide!
 

Excel Facts

Which came first: VisiCalc or Lotus 1-2-3?
Dan Bricklin and Bob Frankston debuted VisiCalc in 1979 as a Visible Calculator. Lotus 1-2-3 debuted in the early 1980's, from Mitch Kapor.
.
Show the form in the VBE just as you have done previously.

Right click on the form and select VIEW CODE.

Now look at the menu bar up top. There should be two drop downs. One on the
left says (GENERAL) and the on the right says (DECLARATIONS).

In GENERAL select USERFORM, in DECLARATIONS select INITIALIZE.
 
Upvote 0

Forum statistics

Threads
1,223,903
Messages
6,175,284
Members
452,630
Latest member
OdubiYouth

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top