ich bekomme folgenden Fehler:
"method 'checkbox' of object '_worksheet' failed"
in dieser Zeile:
If bln = True And src.Sheets("Sheet1").Cells(x, 9).Value Like "*etup*" And ws.CheckBoxes("Check Box 8").Value = False And ws.CheckBoxes("Check Box 9").Value = False Then
Die Checkboxen sind Formelemente, keine activex-steuerelemente
Wenn ich den Teil des Codes weglasse funktioniert es soweit, doch dann fallen eben die 2 Bedingungen raus...
ws.CheckBoxes("Check Box 8").Value = False And ws.CheckBoxes("Check Box 9").Value = False
der Fehler liegt irgendwo beim Ansprechen des Workbooks "dst" und dessen Worksheets "ws"
'Checkbox checked New Setup/Modification
If bln = True And src.Sheets("Sheet1").Cells(x, 9).Value Like "*etup*" And ws.CheckBoxes("Check _
Box 8").Value = False And ws.CheckBoxes("Check Box 9").Value = False Then
ws.CheckBoxes("Check Box 8").Value = True
ElseIf bln = True And src.Sheets("Sheet1").Cells(x, 9).Value Like "*cation*" And ws.CheckBoxes(" _
Check Box 8").Value = False And ws.CheckBoxes("Check Box 9").Value = False Then
ws.CheckBoxes("Check Box 9").Value = True
End If