Compile Error: Automation type not supported in Visual Basic
Jeg har lavet følgende lille funktion:Function fAlreadyCopied(FileName As Strings, FilePath As Strings) As Boolean
Dim mFN
For Each mFN In colAlleredeKopieret
If mFN = sFilePath & sFileName Then
fAlreadyCopied = True
End If
Next mFN
If fAlreadyCopied = False Then
colAlleredeKopieret.Add sFilePath & sFileName
End If
End Function
Men jeg får fejlen:
Compile Error: Automation type not supported in Visual Basic
Hvorfor?? Og endnu mere vigtigt: Hvad skal jeg gøre?
