Sub print7()
Dim i As Long
Dim oldDate As Date
oldDate = Range("A1").Value
For i = 1 To 7
Range("A1") = Range("A1") + 1
ActiveSheet.PrintOut
Next i
'Allenfalls deaktivieren oder löschen wenn das Datum nicht zurückgesetzt werden soll
Range("A1").Value = oldDate
End Sub
Gruss RainerSub Test()
dim i as long
with Sheets("Tabelle1")
for i = 0 to 6
.Printout
.Cells(1,1).Value = .Cells(1,1).Value + 1
next
.Cells(1,1).Value = .Cells(1,1).Value - 6 'altes Datum wieder herstellen
End With
End Sub