CornedBee
Jun 24th, 2003, 01:55 AM
Hi
I usually never use VB, but now I need to write a macro for Word. The macro should provide a form that lets the user choose one of several words in the text.
I have the text I need in a String, now I need to split it into the words. So I wrote this:
Dim s As String
Dim subs() As String
' get value into s
...
' now split
subs = Split(s, "/")
However it tells me that it doesn't know the symbol "Split". Isn't it a built-in function?
Thanks in advance
I usually never use VB, but now I need to write a macro for Word. The macro should provide a form that lets the user choose one of several words in the text.
I have the text I need in a String, now I need to split it into the words. So I wrote this:
Dim s As String
Dim subs() As String
' get value into s
...
' now split
subs = Split(s, "/")
However it tells me that it doesn't know the symbol "Split". Isn't it a built-in function?
Thanks in advance