Hi, All ok now, I needed a reference to the MS access object library. Access is now staying open ;-) Cheers
Forum Rules