Option Explicit
Sub NonVide()
'
' Procédure créée le 17 Brumaire CCXVII (7/11/2008) par ROGER2327
'
'
Dim tf As Boolean, i&, c
Dim plage, adr
adr = Selection.Cells(1, 1).Address
tf = Range("DATA").Parent.CodeName <> ActiveSheet.CodeName
If Not tf Then tf = tf Or Intersect(Range("DATA"), Range(adr)) Is Nothing
If tf Then
plage = Range("DATA").Value
For Each c In plage
If Not IsEmpty(c) Then
Range(adr).Offset(i, 0) = c
i = i + 1
End If
Next c
Range(adr).Offset(i, 0).Select
Selection = Empty
End If
End Sub