FrenchCelt
Board Regular
- Joined
- May 22, 2018
- Messages
- 214
- Office Version
- 365
- Platform
- Windows
Hello, I'm trying to add some VBA code to a macro that requires I find and eliminate any zeroes that appear in a specific row (the row number will vary per spreadsheet). The row will always be labeled TOTAL LESS BREAKS in column A, so I was able to piece together this much to identify that row in my code:
From there, I'm having trouble finishing the code to identify and eliminate any zeros found in that row.
Does anyone have any suggestions?
Code:
Last = Cells(Rows.Count, "A").End(xlUp).Row
For h = Last To 1 Step -1
If (Cells(h, "A").Value) = "TOTAL LESS BREAKS" Then
Cells(h, "A").EntireRow.Select
End If
Next h
From there, I'm having trouble finishing the code to identify and eliminate any zeros found in that row.
Does anyone have any suggestions?