You can use the Instr function to find the position of the '-' character, then use Mid function to extract the section you want.
They are both well documented in VBHelp
________________________________________________________________
If you want to get the best response to a question, please check out FAQ222-2244 first
'People who live in windowed environments shouldn't cast pointers.'