Buenas:
Se me ocurre algo rápido que te ayudará, pues ahora mismo no se si se le puede preguntar a alguna propiedad del rs para saber si esta abierto o no.
Cuando realizes tu conexión RS...
Conn.Open....
SQL = " SELECT..."
RS.Open SQL, 0, 1
Variable = "SI"
Entonces luego con un IF:
Código PHP:
If Variable="SI" then
RS.Close
Set RS=Nothing
End If