Ich möchte über einen Button Zellinhalte
die ich vorher markiert habe löschen.
Wie müsste der Code aussehen?
Über Hilfe würde ich mich sehr freuen
Gruss
Frank
Sub Löschen()
Dim a
a = Selection.Cells(10).Value
Selection.ClearContents
Selection.Cells(10).Value = a
End Sub
Sub Löschen()
Dim a
a = Selection.Cells(10).Formula
Selection.ClearContents
Selection.Cells(10).Formula = a
End Sub
Sub Löschen()
Dim a, z As Long
z = Selection.Row
a = Selection.Cells(10).Formula
Range(Cells(z, 1), Cells(z, 13)).ClearContents
Selection.Cells(10).Formula = a
End Sub