I wrote the code below to delete empty rows in multiple sheets. It works fine for few sheets, but it takes quite some time and I had to run it few times to get the work done. Now I need to apply this to about 100 sheets. Can someone help me to modify this code for that.
Sub delete_empty_rows()
Dim ws As Worksheet
Dim x As Integer
Dim y As String
For Each ws In ThisWorkbook.Sheets
For x = 12 To 60
y = Cells(x, 3).Value
If y = "" Then
ws.Rows(x).Delete
End If
Next x
Next ws
End Sub