B
Bill
The split statement keeps bombing with a runtime
error 13 - Type mismatch.
The current value of OldName is:
01.06.08;John 17.1-3;;;.mp3
I tried dimming OldName as variant, but that didn't
have any effect.
Any ideas as to what might be the cause of the error?
Private Function FormatNewName(OldName As String) As String
Dim arrParse() As Variant
Dim arrTemp() As Variant
Dim strBK As String
Dim strBkID As Variant
'*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=
' This function assumes that ManFix has resolved OldName to
' at lease the nominal 5 tokens:
' ID;Book and Reference;Presenter;comment;filetype
'*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=
arrParse = Split(OldName, ";")
[snip]
FormatNewName = blah blah blah
End
error 13 - Type mismatch.
The current value of OldName is:
01.06.08;John 17.1-3;;;.mp3
I tried dimming OldName as variant, but that didn't
have any effect.
Any ideas as to what might be the cause of the error?
Private Function FormatNewName(OldName As String) As String
Dim arrParse() As Variant
Dim arrTemp() As Variant
Dim strBK As String
Dim strBkID As Variant
'*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=
' This function assumes that ManFix has resolved OldName to
' at lease the nominal 5 tokens:
' ID;Book and Reference;Presenter;comment;filetype
'*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=
arrParse = Split(OldName, ";")
[snip]
FormatNewName = blah blah blah
End