PDA

View Full Version : Help needed Run-Time Error 13: Type missmach



nomedia
08-02-2011, 12:54 PM
Hi I`m useing Excel 2010 I have a macro which gives me Run-Time Error 13: Type missmach every time I try to lounch it. Can anybody help me? An error code line is folowing:


Private Sub ProcessRace(nIndexStart As Long, nIndexEnd As Long, nCols As Long, bIsCreateCSVReport As Boolean, asRaces() As String, sFileName As String)

oReport.RaceAnalysis nIndexStart, nIndexEnd, nCols, bIsCreateCSVReport, asRaces()

End Sub



Thanks for in advance =)

Kenneth Hobs
08-02-2011, 01:00 PM
Since you did not post RaceAnalysis() we can not troubleshoot as well. First off, does it only take 5 input parameters? You have 6 in ProcessRace().