richtige Syntax
31.07.2008 14:20:00
Petra
wie muß die Syntax richtig lauten?
Sub t1()
Formel_wert "Tabelle1" 'läuft nicht weder mit noch ohne Anführungszeichen oder _
Klammerpaar
End Sub
Sub Formel_wert(Blatt As Worksheet)
Dim lZ As Integer
Application.EnableEvents = False
With Sheet(Blatt)
lZ = .Cells(Rows.Count, 1).End(xlUp).Row
.Range(.Cells(6, 23), .Cells(lZ, 23)).Value = .Range(.Cells(6, 23), .Cells(lZ, 23)).Value
End With
Application.EnableEvents = True
End Sub
Liebe Grüße Petra