- Bei meiner Variante erreiche ich aber nur Bereich Text2. Wie also auch Text 1.
- Wie erreiche ich, dass das Dialogfeld Speichern unter dem Nutzer zur Auswahl sichtbar wird und
erst nach OK das Makro weiter läuft.
- Was bedeutet Collate
Private Sub CheckBox1_Click()'
Sheets("Tabelle2").Select
Application.Goto Reference:="Text1"
Application.Goto Reference:="Text2"
With Selection.Font
.ColorIndex = 22
End With
Sheets(Array("Tabelle1", "Tabelle2", "Tabelle3")).Select
Sheets("Tabelle1").Activate
ActiveWindow.SelectedSheets.PrintOut Copies:=1, Collate:=True
Sheets("Tabelle2").Select
Application.Goto Reference:="Text1"
Application.Goto Reference:="Text2"
With Selection.Font
.ColorIndex = 1
End With
Range("A1").Select
Sheets("Tabelle1").Select
End Sub