A voir également:
- Vba compter le nombre de ligne non vide
- Coeur vide ✓ - Forum Internet / Réseaux sociaux
- En ligne sur instagram alors que non - Forum Instagram
- Apparaitre hors ligne whatsapp - Guide
- Nb.si.ens non vide ✓ - Forum Excel
- En ligne sur messenger alors que non ✓ - Forum Facebook Messenger
2 réponses
xjl
Messages postés
232
Date d'inscription
mardi 27 mars 2007
Statut
Membre
Dernière intervention
12 juin 2007
183
2 mai 2007 à 14:33
2 mai 2007 à 14:33
Salut,
Tu peux faire ça:
Sub comptage()
n = 0
For Each Cell In Sheets(1).Columns(1).Cells
If IsEmpty(Cell) Then n = n + 1
Next Cell
MsgBox n
End Sub
Tu peux faire ça:
Sub comptage()
n = 0
For Each Cell In Sheets(1).Columns(1).Cells
If IsEmpty(Cell) Then n = n + 1
Next Cell
MsgBox n
End Sub
2 mai 2007 à 14:54
nbcells = Application.WorksheetFunction.CountA(Feuil1.Range("$A:$A"))
10 janv. 2013 à 17:46
et pour une collone B tu ferais comment ?
et tu le déclare comment nbcells ?
12 juin 2013 à 19:05
et pour B suffit de remplacer les A par B ...