Compile Error

J

JoanaChang

I'm new at this !

I'm trying to use:

"Private part_tbl As Recordset"
....
"Dim appExcel As Excel.Application"
...

When I tried to run the code, its appears "User-defined type no
defined"

What I should do To define it?
 
J

JuneTheSecond

On Visio?
You might need to add regerence to the Microsoft ActiveX data object, and
Microsoft Excel Object Library.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top