Issue with Named Ranges not updating in Combo Box

pingme89

Board Regular
Joined
Jan 23, 2014
Messages
176
Office Version
  1. 365
Platform
  1. Windows
I have a sheet of client data. On a separate sheet I have a button that updates the client data (Add/amend/Delete). Once the data is altered, I also update the named ranges on the Client Data Sheet with VBA code.
I have 3 named ranges: Company List, Legal Name, and Client Data.

The problem I have is on a 3rd sheet, I have a combo box that uses one of the named ranges listed above. After changing the client data with VBA, the combo box list doesn't update.
For instance, I have 9 clients listed on the Client data sheet. I added one so now there are 10 clients listed. The named ranges are updated to include the 10th client, but on the combo box calling for the named range is not updated. If I delete the named range and rename it manually, the combo box list get updated.

How can I delete the named range in VBA without deleting the contents of that named range and rename the named range with VBA?
 

Excel Facts

Fastest way to copy a worksheet?
Hold down the Ctrl key while dragging tab for Sheet1 to the right. Excel will make a copy of the worksheet.

Forum statistics

Threads
1,224,823
Messages
6,181,181
Members
453,022
Latest member
Mohamed Magdi Tawfiq Emam

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