$ 0 0 Thanks Massi, It was not working for me as i am not disconnecting the work sheets before unset command.