Okay, maybe I've just benn staring at it too long. Why doesn't this work?
Doesn't matter whether I put a space after the comma or not. End result is
the entire string winds in s_array(0). Any clue?
Dim s_array As Variant
dim s_types as string
s_types = "18FC,36FC, 72FC"
s_array = Split(s_types, ",")

Signature
-------
Say it loud
http://tinyurl.com/39rhxa
> Okay, maybe I've just benn staring at it too long. Why doesn't this
> work? Doesn't matter whether I put a space after the comma or not. End
[quoted text clipped - 4 lines]
> s_types = "18FC,36FC, 72FC"
> s_array = Split(s_types, ",")
Never mind. figured it out. needed vba.split. Not sure what I was calling!

Signature
-------
Say it loud
http://tinyurl.com/39rhxa
Jonathan West - 18 Jul 2007 01:08 GMT
>> Okay, maybe I've just benn staring at it too long. Why doesn't this
>> work? Doesn't matter whether I put a space after the comma or not. End
[quoted text clipped - 7 lines]
> Never mind. figured it out. needed vba.split. Not sure what I was
> calling!
I guess you have a function called Split in your project? Or possibly you
have set a reference to another library in Tools References, and that
library which has a Split function in it.

Signature
Regards
Jonathan West - Word MVP
www.intelligentdocuments.co.uk
Please reply to the newsgroup