Excel 2007 Userform VBA - combo list not updating immediatley

F0RE5T

Board Regular
Joined
Nov 4, 2014
Messages
201
Hi
Excel 2007 Userform with multipages

On one of the multi pages I have fields to create descriptions (saved to a worksheet) that are used by combo box positioned within the other multipages

Everything works great e.g. create, save, amend to worksheet and the new record shows immediately in a combo box positioned within that multipage.

The bug is that if I select another of the multi pages that has a combo box listing those data the new record does not show UNLESS I close then reopen the userform?

Suggestions?

Many thanks for viewing my question even if you cannot help.

Forest
 

Some videos you may like

Excel Facts

Format cells as time
Select range and press Ctrl+Shift+2 to format cells as time. (Shift 2 is the @ sign).

F0RE5T

Board Regular
Joined
Nov 4, 2014
Messages
201
Hi

Thanks to all that have viewed my question.

I have remembered an old solution and it works

each time I select the multipage I now refresh the rowsource for the combo box:)
e.g.
CboMCatDescription.RowSource = "MedicCategories"

I put this in the code for the multipage selected.

Again many thanks and hopefully this may help others.

Forest:)
 

Watch MrExcel Video

Forum statistics

Threads
1,123,333
Messages
5,601,008
Members
414,421
Latest member
tonybear1994

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
Top