hi leith and thanks for the reply

i put option explicit as the top line but im still getting the same error

can you help please?

regards