Go to special
Closed
Viking57
-
Jul 16, 2010 at 11:59 AM
aquarelle Posts 7435 Status Moderator - Jul 23, 2010 at 01:51 AM
aquarelle Posts 7435 Status Moderator - Jul 23, 2010 at 01:51 AM
Related:
- Go to special
- Facebook special characters - Guide
- Using special characters in word - Guide
- Steam special access code - Guide
- Special code for android phones - Guide
- How to make special e on keyboard - Guide
3 responses
Hi,
Try this :
Best regards
"Pour trouver une solution à ses problèmes, il faut s'en donner la peine."
Try this :
Sub HidingEmptyRows()
Dim p As Range, i As Long
Set p = Application.InputBox(Prompt:="Select a range of cells", _
Title:=" Hiding of empty rows", Type:=8)
With p
For i = .Rows.Count To 1 Step -1
If Application.CountA(.Rows(i)) = 0 Then _
.Rows(i).EntireRow.Hidden = True
Next i
End With
End Sub
Best regards
"Pour trouver une solution à ses problèmes, il faut s'en donner la peine."
Hi,
Sorry , I had forgotten the possibility to have cells= 0, try this new one :
Best regards
"Pour trouver une solution à ses problèmes, il faut s'en donner la peine."
Sorry , I had forgotten the possibility to have cells= 0, try this new one :
Sub HidingEmptyRows()
Dim p As Range, i As Long
Set p = Application.InputBox(Prompt:="Select a range of cells", _
Title:=" Hiding of empty rows", Type:=8)
With p
For i = .Rows.Count To 1 Step -1
If Application.CountIf(.Rows(i), "=0") > 0 Or _
Application.CountIf(.Rows(i), "*") = 0 Then _
.Rows(i).EntireRow.Hidden = True
Next i
End With
End Sub
Best regards
"Pour trouver une solution à ses problèmes, il faut s'en donner la peine."
Hi,
Please could you load a brief example of your excel file (without any private or personal data) on https://authentification.site then copy past the created link to your next answer.
See you
Please could you load a brief example of your excel file (without any private or personal data) on https://authentification.site then copy past the created link to your next answer.
See you
Jul 16, 2010 at 02:18 PM