Excel 2007 Userform VBA - combo list not updating immediatley

F0RE5T

Board Regular
Joined
Nov 4, 2014
Messages
204
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
 

Excel Facts

Using Function Arguments with nested formulas
If writing INDEX in Func. Arguments, type MATCH(. Use the mouse to click inside MATCH in the formula bar. Dialog switches to MATCH.
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:)
 
Upvote 0

Forum statistics

Threads
1,214,874
Messages
6,122,034
Members
449,061
Latest member
TheRealJoaquin

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