Rohit It does seem to produce a sensible result - if you look at the output with code inspection. Probably the only way to do it it seems ... Paul