Hi,
I am trying to customize macro in Excel sheet. The problem I have is when I try to use the function Split, it gives me error "Sub or Function not defined". Same code works at my home computer.
The code is something like this...
Dim aChars() As String
if iComma > 0 then
aChars() = Split(sChars, ",")
For counter3 = 0 To UBound(aChars)
.....
Next counter3
End if
I don't understand why it works at other computer. Do I need to add a reference from the tools menu? If so, which one should it be? I have a Excel 97 version here.
Any suggestion is most welcome!
Thanks,
ndp
I am trying to customize macro in Excel sheet. The problem I have is when I try to use the function Split, it gives me error "Sub or Function not defined". Same code works at my home computer.
The code is something like this...
Dim aChars() As String
if iComma > 0 then
aChars() = Split(sChars, ",")
For counter3 = 0 To UBound(aChars)
.....
Next counter3
End if
I don't understand why it works at other computer. Do I need to add a reference from the tools menu? If so, which one should it be? I have a Excel 97 version here.
Any suggestion is most welcome!
Thanks,
ndp