Scriveva pic omnic mercoledì,
23/08/2023:<
93d9b293-1b8a-4407...@googlegroups.com>
> Public Sub m()
> Dim nr As Long
> Dim l As Long
> With ActiveSheet
> nr = .Range("A65536").End(xlUp).Row
> For l = nr To 1 Step -1
> If .Cells(l, 1).Value = "" Then
> .Rows(l).Delete Shift:=xlUp
> End If
> Next l
> .Cells(1, 1).Select
> End With
Public Sub m()
Dim nr As Long
Dim l As Long
Application.ScreenUpdating = False
With ActiveSheet
nr = .Range("A65536").End(xlUp).Row
For l = nr To 1 Step -1
If .Cells(l, 1).Value = "" Then
.Rows(l).Delete Shift:=xlUp
End If
Next l
.Cells(1, 1).Select
End With
Application.ScreenUpdating = True
End Sub