l'ho fatto ho dichiaratola variabile cosi:

Option Explicit
Dim myrecord as recordset

ma niente...