Re: Loading Excel COMs
- From: Paul Clement <UseAdddressAtEndofMessage@xxxxxxxxxxxxxx>
- Date: Mon, 11 Jul 2005 08:17:56 -0500
On 10 Jul 2005 08:58:20 -0700, kumagora1@xxxxxxxxxxx wrote:
¤ I'm teaching myself how to automate Excel. I created a reference to
¤ Excel's COM libary using the "Add Reference" pick from the Project
¤ Menu. I selected Excel 11 Object libary which is what Excel 2003 uses,
¤ and added it to list of selected components in Add Reference Dialog
¤ Box.
¤
¤ But when I try to call Excel objects via click event from form, I get
¤ error that says "Type Excel Application Not Defined" even though I
¤ dim'd new object as Excel.Application and got it loaded in my reference
¤ libary.
¤
¤ Workstation is Win XP and Visual Studio.Net 2003. Anybody got any idea
¤ what I'm doing wrong and how to fix it?
Can you post a snippet of code so we can see what you are doing?
Paul
~~~~
Microsoft MVP (Visual Basic)
.
- Follow-Ups:
- Re: Loading Excel COMs
- From: Ken Halter
- Re: Loading Excel COMs
- References:
- Loading Excel COMs
- From: kumagora1
- Loading Excel COMs
- Prev by Date: Loading Excel COMs
- Next by Date: Re: Is there an easy way to expose class variables in COM builds?
- Previous by thread: Loading Excel COMs
- Next by thread: Re: Loading Excel COMs
- Index(es):
Relevant Pages
|
Loading