|
|
|||||||||
|
|||||||||
|
|||||||||
| |
||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Excel.Application error
I am trying to link data from Access to Excel. I am using the following code to declare the Excel application.
Dim myXL As Excel.Application Dim myWkb As Excel.Workbook Dim mySht As Excel.Worksheet When I run the code I get a compile error stating user defined type not defined. I have used this code before in other programs. What am I doing wrong? |
|
#2
|
|||
|
|||
|
Quote:
Looks fine, but did you added the reference to Excel Objects? in Reference Microsoft Excel 9.0 Object Library Last edited by Darius : August 29th, 2006 at 09:44 AM. |
![]() |
| Viewing: ASP Free Forums > Programming > Visual Basic Programming > Excel.Application error |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|