Help with Arrays & Cascading Data

JenkinsM82

New Member
Joined
May 17, 2018
Messages
9
Hi Everyone! I'm looking for some help displaying some data from Excel into a Word UserForm using arrays but I'm having trouble wrapping my head around it.

The UserForm has the following controls:
  • A combobox called "StatementName"
  • 2 option buttons called "Singular" & "Plural"
  • A textbox called "Statement"
The data comes from Statements.xlsx has 1 sheet with 3 columns. Column A is the Statement Name. Column B is the statement in singular form. Column C is the statement in plural form.

When the form initializes, I want the data from Statement.xlsx to be loaded into an Array. When the combobox or optionboxes are changed, the textbox should update accordingly.

The last part is to allow the user to modify the textbox before clicking a submit button to insert the statement into the Word document.

Thanks in advance!
 

Excel Facts

Excel Joke
Why can't spreadsheets drive cars? They crash too often!

Forum statistics

Threads
1,214,605
Messages
6,120,473
Members
448,967
Latest member
visheshkotha

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