richiwatts
Technical User
I have created a global template containing various macros. I created it in VB6 but also wanted it to work on VB5. Because I needed to use the "split" function I needed a way to make it work.
I found this page
Simulate Visual Basic 6.0 String Functions in VB5
I used the code for the split function and when I tested the template in Word 97, I got the following error message:
Compile error:
Automation type not supported in Visual Basic
It highlighted the following part of the code.
Has anyone got any ideas?
I found this page
Simulate Visual Basic 6.0 String Functions in VB5
I used the code for the split function and when I tested the template in Word 97, I got the following error message:
Compile error:
Automation type not supported in Visual Basic
It highlighted the following part of the code.
Code:
Public Function Split(ByVal sIn As String, Optional sDelim As _
String, Optional nLimit As Long = -1, Optional bCompare As _
VbCompareMethod = vbBinaryCompare) As Variant
Has anyone got any ideas?