manche Dinge bzgl. der VBA werde ich nie verstehen. Das folgende Makro funktionierte Tage lang ohne Pronleme, und plötzlich geht nichts mehr. Schaut Euch das bitte mal an:
Private Sub CommandButton2_Click()
Application.ScreenUpdating = False
Sheets("Grafiken").Select
ActiveSheet.ChartObjects("Chart 1").Activate
ActiveChart.ChartArea.Select
Application.Dialogs(xlDialogPrint).Show
Application.ThisWorkbook.Worksheets("Peer-Group").Activate
Application.ScreenUpdating = True
End Sub
Als fehler Meldung bekomme ich RUN-TIME ERROR 1004 (großer Absatz Zeile 2)
Vielen Dank im Voraus!
Gruß Ulf