Love StrSplit. Saves me some lines of code and is far more elegant. Having trouble though with the dim statement in Globals. If I use Dim words(0) as string it is fine in a standalone test prog but if I include it in my big and near completed prog I get:
Error compiling program.
Error description: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
Occured on line: 5
Dim words(0) as string
If I use just Dim words(0) without the 'as string' reference then it is OK.
It is fine to omit the 'as string' here.
I don't see any reason why leaving the 'as string' will not work.
Can you post some of your code or send it to erel@basic4ppc.com?