In einem Makro ist die Spalte A als Bezug zumausführen eingegeben. Ich möchte die Spalte aber Makieren und daraufhin den bezug für das MAkro benennen.. Also eine Active Spalte aber wie heist diese in dem Makro ???
Sub leere_zelle_spalte()
Dim intLastRow As Integer
Dim intRow As Integer
intLastRow = Cells.SpecialCells(xlCellTypeLastCell).Row
For intRow = intLastRow To 1 Step -1
If Application.CountA(Rows(intRow)) = 0 Then
intLastRow = intLastRow - 1
Else
Exit For
End If
Next intRow
For intRow = intLastRow To 1 Step -1
If IsEmpty(Cells(intRow, 1)) Then
Cells(intRow, 1).Delete xlShiftUp
End If
Next intRow
End Sub
Versprochen ich kauf mir auch jetzt ein Buch!!!
vielen Dank
Thomas