Stephen_IV
Well-known Member
- Joined
- Mar 17, 2003
- Messages
- 1,174
- Office Version
- 365
- 2019
- Platform
- Windows
I am trying to delete the entire row if the colorindex = 39 the problem is that this is not working properly. I need it to operate on 15000 cells.
Thanks in advance
Sub deleteit()
For Each cell In Selection
If cell.Interior.ColorIndex = 39 Then cell.EntireRow.Delete
Next
End Sub
Thanks in advance
Sub deleteit()
For Each cell In Selection
If cell.Interior.ColorIndex = 39 Then cell.EntireRow.Delete
Next
End Sub