Question : VBA Combobox ListFillRange Causes Not Enough System Resources Error

Hi,

I am using a combobox in a multisheet spreadsheet.  The combobox is performing the same function on two specific sheets, offering the user a choice of Team (A - G) and Player No (1 to 8).  These are used to enter a match score on one sheet ("Enter Scores") or to identify a player's matches in a sporting tournament on another sheet ("Order of Play"). The comboboxes are populated with data from a third ("Data") sheet.

On the "Enter Scores" sheet, implemented first, the combobox works perfectlywithout error. A named range is used in both cases, "Teams" and "PlayerNo"  The selected Team and PlayerNo are output to a named range, which is different on each sheet.

On the "Order of Play" sheet when the combobox is clicked, with the same named range in ListFillRange property as on the first sheet an error is generated  "Not Enough System Resources to Display Properly"

I have made various modifications to try and resolve this problem but have had varying degrees of success.

Used an alternative named range on the Data sheet - same error
Used a direct range reference to the range on the Data sheet - same error
Used a named range on the "Order of Play", i.e. same sheet - it worked
Used a direct range reference to the range on the "Order of Play" sheet - it worked!

I have reaved the file with a shorter filename in case the reference were the issue but no result.

I really do want my data accessed from the data sheet.  Any ideas anyone?

Thanks in advance.

Martyn





ListFillRange property is set to a data range on the Causes

Answer : VBA Combobox ListFillRange Causes Not Enough System Resources Error

Does changing the zoom to 100% fix the issue though? It wouldn't be the first time that the MSKB has been wrong about all the versions that are affected.
Random Solutions  
 
programming4us programming4us