Ranjan
The code I produced works perfectly on the sample you posted. You should be able to work out by yourself how to to make the amendments you now require - both are pretty obvious.
__________________
Andrew Lockton
Chrysalis Design, Melbourne Australia
|