work;

  1. sharky12345

    Use formula in cell loop

    How can I use a cell address in a formula within a range loop? I've tried the below but it doesn't work; For Each cell In Range("B3:B18") If cell.Value <> 0 Then cell.Offset(0, 1).Formula = "=IF(Cell="""","""",COUNTIF(DEPLOYMENTS!$S$2:$S10000,Cell))" End If Next
  2. sharky12345

    Remove Listbox item based on Textbox value

    I'm populating a Textbox on a Userform based on a Listbox selection like this; TextStaff.Value = ListBox1.Value What I'd like to do now is remove the TextStaff value and have tried this but it doesn't work; ListBox1.RemoveItem (TextStaff.Value) Can someone show me how please?

Watch MrExcel Video

This Week's Hot Topics

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