D
Dave S
Hi,
I'm copying over some old code I wrote into a new access database. When I
do this, and compile, I get an error message on the line "Dim dbs As
Database", saying "user defined type not defined". I didn't have to define
it in my other database. Any thoughts?
Private Sub cmdImportWorkbookData_Click()
'Declare Variables
Dim dbs As Database
Dim rst As DAO.Recordset
Dim strWorkbookName As String
Dim strDirName As String
Thanks,
Dave
I'm copying over some old code I wrote into a new access database. When I
do this, and compile, I get an error message on the line "Dim dbs As
Database", saying "user defined type not defined". I didn't have to define
it in my other database. Any thoughts?
Private Sub cmdImportWorkbookData_Click()
'Declare Variables
Dim dbs As Database
Dim rst As DAO.Recordset
Dim strWorkbookName As String
Dim strDirName As String
Thanks,
Dave