Hello Everybody,
I'd like to paste information into a table, but unfortunately either the lines are written on top of each other
or there is always a blank row at the top of the table (Row 2).
Do you know how to write from the row 2, please?
Thanx a lot for your help
I'd like to paste information into a table, but unfortunately either the lines are written on top of each other
VBA Code:
DerniereLigne = Range("A" & Rows.Count).End(xlUp).Row
or there is always a blank row at the top of the table (Row 2).
VBA Code:
DerniereLigne = Range("A" & Rows.Count).End(xlUp).Row + 1
Do you know how to write from the row 2, please?
VBA Code:
Sub essai2()
ThisWorkbook.Worksheets("Feuil2").Activate
' Find the last row
DerniereLigne = Range("A" & Rows.Count).End(xlUp).Row
' Display the number of the last row
MsgBox "The last blank row is : " & " " & DerniereLigne
End Sub
Thanx a lot for your help