Deleting a selected Item from a ListFillRange

stirlingmw1

Board Regular
Joined
Jun 17, 2016
Messages
53
Office Version
  1. 2016
  2. 2013
  3. 2010
  4. 2007
Platform
  1. Windows
Afternoon all.

I am trying different ways to achieve a certain goal and hope you can help.

I have a worksheet that I select an "Item" from a Data Validation List in cell B3 of my worksheet "Uplift", I then add a "Qty" in cell "D3", on Selecting "Add" (Button with Macro) the Item and Qty are added to worksheet "Selected" column B and C, these then become part of a dynamic list i am using as a ListFillRange for a ListBox1 on the "Uplift" worksheet, I can do this multiple times, each time adding an item and its qty to the next available row within the worksheet "Selected" at the same time updating the ListFillRange.

My question is,

How would I code a macro to remove a selected Item and its Qty I have selected from within the ListBox1 which then is in turn deleted from the "Selected" worksheet?

Thanks

Steve
 

Excel Facts

How to show all formulas in Excel?
Press Ctrl+` to show all formulas. Press it again to toggle back to numbers. The grave accent is often under the tilde on US keyboards.
use the .Listindex of the selected item to locate it in the range on the "Selected" sheet delete the corresponding row from the sheet then update the listbox.
 
Upvote 0
Solution

Forum statistics

Threads
1,214,545
Messages
6,120,132
Members
448,947
Latest member
test111

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