每次调用此函数都会导致运行时错误“13”类型不匹配。为什么会这样?
Public Function VersionExists(versionId As String)
VersionExists = False
For Each cell In Tabelle2.Columns(1)
If cell.Value = versionId Then
VersionExists = True
End If
Next
End Function