> > Thats exactly what I'm looking for, You couldn't post the function code > > could you, I've been messing about trying to do this for what seems like > > days. > > > > Cheers > > It's OK, I don't need the function, I've finally solved it. :-) But I'd need the function, couldn't you post the code, could you?