Lösch-Aktion
25.08.2004 15:19:14
Frank
wie kann ich die Lösch-Aktion wie unten angezeigt verkürzt eingeben
so das auch diese schneller abläuft.
(Download funktioniert nicht(Lösch-Aktion.xls))
Grüß
Frank
Sub MA_Neue_Gesamtberechnung()
' MA_Neue_Gesamtberechnung Makro
Makro am 25.08.2004
If MsgBox("Sollen die Daten unwiederruflich gelöscht werden", vbQuestion + vbYesNo, " Lösch-Aktion!") = vbYes Then
Application.ScreenUpdating = False
Sheets("MA Blindplatten 1").Select
Application.Run "Modul41.Neue_Berechnung"
Sheets("MA Diverses 1").Select
Application.Run "Modul41.Neue_Berechnung"
Sheets("MA Frontplatten 1").Select
Application.Run "Modul41.Neue_Berechnung"
Sheets("MA Gehäuse 1").Select
Application.Run "Modul41.Neue_Berechnung"
Sheets("MA Rückwand 1").Select
ActiveWindow.ScrollWorkbookTabs Sheets:=1
Application.Run "Modul41.Neue_Berechnung"
ActiveWindow.ScrollWorkbookTabs Sheets:=-1
Sheets("MA Gesamtberechnung").Select
Sheets("MA Blindplatten 2").Select
Application.Run "Modul41.Neue_Berechnung"
Sheets("MA Diverses 2").Select
Application.Run "Modul41.Neue_Berechnung"
Sheets("MA Frontplatten 2").Select
Application.Run "Modul41.Neue_Berechnung"
Sheets("MA Gehäuse 2").Select
Application.Run "Modul41.Neue_Berechnung"
Sheets("MA Rückwand 2").Select
Application.Run "Modul41.Neue_Berechnung"
Sheets("MA Blindplatten 3").Select
Application.Run "Modul41.Neue_Berechnung"
Sheets("MA Diverses 3").Select
Application.Run "Modul41.Neue_Berechnung"
Sheets("MA Frontplatten 3").Select
Application.Run "Modul41.Neue_Berechnung"
Sheets("MA Gehäuse 3").Select
Application.Run "Modul41.Neue_Berechnung"
Sheets("MA Rückwand 3").Select
Application.Run "Modul41.Neue_Berechnung"
Sheets("MA Blindplatten 4").Select
Application.Run "Modul41.Neue_Berechnung"
Sheets("MA Diverses 4").Select
Application.Run "Modul41.Neue_Berechnung"
Sheets("MA Frontplatten 4").Select
Application.Run "Modul41.Neue_Berechnung"
Sheets("MA Gehäuse 4").Select
Application.Run "Modul41.Neue_Berechnung"
Sheets("MA Rückwand 4").Select
Application.Run "Modul41.Neue_Berechnung"
Sheets("MA Blindplatten 5").Select
Application.Run "Modul41.Neue_Berechnung"
Sheets("MA Diverses 5").Select
Application.Run "Modul41.Neue_Berechnung"
Sheets("MA Frontplatten 5").Select
Application.Run "Modul41.Neue_Berechnung"
Sheets("MA Gehäuse 5").Select
Application.Run "Modul41.Neue_Berechnung"
Sheets("MA Rückwand 5").Select
Application.Run "Modul41.Neue_Berechnung"
Sheets("MA Blindplatten 6").Select
Application.Run "Modul41.Neue_Berechnung"
Sheets("MA Diverses 6").Select
Application.Run "Modul41.Neue_Berechnung"
Sheets("MA Frontplatten 6").Select
Application.Run "Modul41.Neue_Berechnung"
Sheets("MA Gehäuse 6").Select
Application.Run "Modul41.Neue_Berechnung"
Sheets("MA Rückwand 6").Select
Application.Run "Modul41.Neue_Berechnung"
Sheets("MA Blindplatten 7").Select
Application.Run "Modul41.Neue_Berechnung"
Sheets("MA Diverses 7").Select
Application.Run "Modul41.Neue_Berechnung"
Sheets("MA Frontplatten 7").Select
Application.Run "Modul41.Neue_Berechnung"
Sheets("MA Gehäuse 7").Select
Application.Run "Modul41.Neue_Berechnung"
Sheets("MA Rückwand 7").Select
Application.Run "Modul41.Neue_Berechnung"
Sheets("MA Blindplatten 8").Select
Application.Run "Modul41.Neue_Berechnung"
Sheets("MA Diverses 8").Select
Application.Run "Modul41.Neue_Berechnung"
Sheets("MA Frontplatten 8").Select
Application.Run "Modul41.Neue_Berechnung"
Sheets("MA Gehäuse 8").Select
Application.Run "Modul41.Neue_Berechnung"
Sheets("MA Rückwand 8").Select
Application.Run "Modul41.Neue_Berechnung"
Sheets("MA Blindplatten 9").Select
Application.Run "Modul41.Neue_Berechnung"
Sheets("MA Diverses 9").Select
Application.Run "Modul41.Neue_Berechnung"
Sheets("MA Frontplatten 9").Select
Application.Run "Modul41.Neue_Berechnung"
Sheets("MA Gehäuse 9").Select
Application.Run "Modul41.Neue_Berechnung"
Sheets("MA Rückwand 9").Select
Application.Run "Modul41.Neue_Berechnung"
Sheets("MA Blindplatten 10").Select
Application.Run "Modul41.Neue_Berechnung"
Sheets("MA Diverses 10").Select
Application.Run "Modul41.Neue_Berechnung"
Sheets("MA Frontplatten 10").Select
Application.Run "Modul41.Neue_Berechnung"
Sheets("MA Gehäuse 10").Select
Application.Run "Modul41.Neue_Berechnung"
Sheets("MA Rückwand 10").Select
Application.Run "Modul41.Neue_Berechnung"
ActiveWindow.ScrollWorkbookTabs Sheets:=1
Application.ScreenUpdating = False
Sheets("Einzelsummen").Select
Range("A3").Select
Else
End If
End Sub