3
3lliot
I've got a combo box containing multiple values, ending in (xxx) where xxx is
any number of characters. I want to write the combo box value to a string but
strip out everything outside the brackets (so I just get the xxx characters).
I looked at using a regex, but it seems a little complicated to get them
working in VBA.
Would anyone be able to rattle off a function that will do that for me? I'd
spend ages working it out but I'll bet someone out there can write that stuff
with their eyes shut
cheers
-E
any number of characters. I want to write the combo box value to a string but
strip out everything outside the brackets (so I just get the xxx characters).
I looked at using a regex, but it seems a little complicated to get them
working in VBA.
Would anyone be able to rattle off a function that will do that for me? I'd
spend ages working it out but I'll bet someone out there can write that stuff
with their eyes shut
cheers
-E