A
Adrian Forbes [ASP MVP]
Which is line 21? If it is
.ActiveConnection = cn
and cn is a connection object try
set .ActiveConnection = cn
.ActiveConnection = cn
and cn is a connection object try
set .ActiveConnection = cn