UserForm events

spamless

New Member
Joined
Feb 18, 2021
Messages
4
Office Version
  1. 365
Platform
  1. Windows
I'm designing a user form. Here's a screenshot of it.

1645999462573.png


While I'm happy enough to have gotten this far, I'm stuck now.

Notes:
  • The list box has only two choices, dollars or euros. The scroll bar is working. That's all I want there for now.
  • I have a separate table with dollar-euro exchange rates by year. It's called "USD.EUR".
    • E.g., for 2021 it says "0.8460" (as per the IRS's suggested annual conversion rate).
  • Objects are named as follows:
1646001059907.png


What I want:
  1. The first text box (top-left, UserEntry) should let me enter currency values only.
  2. Once I select the currency unit and the year and click "Convert," the lower text box should populate with the converted value.
  3. The lower right-hand box should just populate with the opposite currency denomination to the one I selected in the list box.
  4. When I click on "Clear," the three textboxes should clear.
I would be grateful for any help!

/dr
 

Excel Facts

Best way to learn Power Query?
Read M is for (Data) Monkey book by Ken Puls and Miguel Escobar. It is the complete guide to Power Query.

Forum statistics

Threads
1,214,605
Messages
6,120,476
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