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

Lock one reference in a formula
Need 1 part of a formula to always point to the same range? use $ signs: $V$2:$Z$99 will always point to V2:Z99, even after copying

F0RE5T

Board Regular
Joined
Nov 4, 2014
Messages
204
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:)
 
Master Excel Bundle

Excel contains over 450 functions, with more added every year. That’s a huge number, so where should you start? Right here with this bundle.

Forum statistics

Threads
1,164,377
Messages
5,836,914
Members
430,462
Latest member
djkiwi1

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