E
eric
I don't think my previous message was posted
My VBA code doesn't seem to work when I try to run it.
Private Sub equipexport_Click()
Dim oXL As Excel.Application
Dim oWkb As Excel.Workbook
Dim oWks As Excel.Worksheet
Dim rstSubForm As DAO.Recordset
Dim iRow As Integer
It says "Compile error User-defined type not defined" and
then it points to the second line (Dim oXL As
Excel.Application)
Thank you in advance
My VBA code doesn't seem to work when I try to run it.
Private Sub equipexport_Click()
Dim oXL As Excel.Application
Dim oWkb As Excel.Workbook
Dim oWks As Excel.Worksheet
Dim rstSubForm As DAO.Recordset
Dim iRow As Integer
It says "Compile error User-defined type not defined" and
then it points to the second line (Dim oXL As
Excel.Application)
Thank you in advance