Wie kann ich hier bitte gezielt z.B. die Tabelle1 ansprechen.
TextBox1 = Application.WorksheetFunction.sumif......
mit Textbox1 = ActiveWorkbook.Worksheets("Tabelle1").habe ich keine WorksheetFunction Auswahl.
Danke
Josef
TextBox1 = Application.WorksheetFunction.sumif(Sheets("Tabelle1").Range("A1:A10"), ... )
Private Sub CommandButton1_Click()
TextBox1 = Application.WorksheetFunction.SumIf(ActiveWorkbook.Sheets("Tabelle1").Range("a2:a218"), "Berghofer", Range("B2:B218"))
End Sub