Problem mit comments ...
11.01.2004 21:16:18
lolita
bin völlig verzweifelt, da Fehler "Laufzeitfehler 438, Objekt unterstützt Eigenschaften ... nicht" nicht nachvollziehbar angeigt werden:
For i = 0 To 1
For j = 0 To 1
If Worksheets("komm").Cells(tg + i + 5, 102 + j + c1) <> "" Then
kmt = Worksheets("komm").Cells(tg + i + 5, 102 + j + c1)
If Not Cells(12, ((i + c1) * 3) + j + 24) Is Nothing Then
Cells(12, ((i + c1) * 3) + j + 24).ClearComments
End If
Cells(12, ((i + c1) * 3) + j + 24).ClearComments
Cells(12, ((i + c1) * 3) + j + 24).AddComment
Cells(12, ((i + c1) * 3) + j + 24).Comment = kmt
Cells(12, ((i + c1) * 3) + j + 24).Interior.ColorIndex = 6
Cells(12, ((i + c1) * 3) + j + 24).Value = "!"
Else
Cells(12, ((i + c1) * 3) + j + 24).Interior.ColorIndex = 0
Cells(12, ((i + c1) * 3) + j + 24).Value = ""
Cells(12, ((i + c1) * 3) + j + 24).ClearComments
End If
Next j
Next i
Wenn mir jemand sagen würde, wo mein Code unsauber oder fehlerhaft ist, wäre ich dankbar ...