Issue with listbox using dynamic range as listfillrange

ryantuck

New Member
Joined
Oct 4, 2010
Messages
2
Hello,

Here is the workflow I'm trying to achieve and where my problem arises:

1. I select option A, B, or C from a group of option buttons.
2. Based on my selection, a dynamic range, dictated by the OFFSET function, is displayed in a listbox.
3. My listbox is a multi-selection listbox, so I select multiple items from my listbox.
4. I have a command button "Update" that I click to copy the selected items from my listbox to the first row of a table. This table is used as the source data for a chart.

Issue: All of this functions more or less perfectly, except that it only works if the listbox draws from a static range. If the listbox is set to draw from a dynamic range, clicking "Update" will "reset" the listbox, thus unselecting all the selections I had made thus far.

I have posted an attached spreadsheet on ozgrid.com here to display the problem. If anyone has any idea how to solve or work around this issue, it would be immensely appreciated.

Thank you very much for your time.

BTW both listbox and optionbuttons are in a worksheet and are activeX controls.

Ryan
 

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.
If the dynamic range appears to be the problem, use VBA to make it a fixed range, either by recycling the existing range name, or by using a temporary one.
 
Upvote 0

Forum statistics

Threads
1,215,026
Messages
6,122,738
Members
449,094
Latest member
dsharae57

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