This should do the trick:
Sub delLine()
Dim r As Long, i As Long
With Sheets("Sheet1"
r = .Cells(.Rows.Count, "A"
.End(xlUp).Row
For i = r To 2 Step -1
If .Cells(i, "C"
.Value = "" Then
.Rows(i).EntireRow.Delete
End If
Next i
End With
End Sub
**Please replace the smilies with close brackets. I can't seem to get rid of them**
Open the VBA editor by holding Alt and pressing F11.
Once open, select your spreadsheet in the upper left window and click on Insert > Module.
Copy and Paste the above code (Sub …. End sub) into the main window.
The code assumes that the last used cell in Column A is the total length of the list.
The code assumes that the worksheet is called Sheet1. If, as likeley, it isn't, then please change "Sheet1" in the above code to whatever the sheet of interest is called in your spreadsheet, preserving the quotes.
The code also assumes that your list starts on row 2. If not, please change the 2 on line For i = r To 2 Step -1 to wherever your list starts.
To run the code, open the VBA editor as before (Alt+F11), click the little green 'play' button. A window will appear. Select 'delLine' from the list (it may be the only thing on the list) and click 'Run'.
Alternatively, you can add a button to the spreadsheet to run the code but will need access to the Developer tab to do so. Please let me know if you would like help with this.
Edited By AndrewD on 01/12/2021 08:46:25
Edited By AndrewD on 01/12/2021 08:46:45
Edited By AndrewD on 01/12/2021 08:48:24
Edited By AndrewD on 01/12/2021 08:59:02