A
andersmj
Hi there
I am trying to make a windows form that uses excel to store some values
entered by the user. But I am having some problems with the object
libaries. The programs I use are Visual studio.net and Excel 2003
I am pretty much foloving the instructions in a book written by Michael
Halvorson (Title: Visual Basic.Net Step By Step).
The short version is that I must add a object libary to the visual
basic project to make it work with excel.
So I click the Project menu > Add reference... > select the COM tab >
and then the book says that I must scroll down and select the Microsoft
Excel 10.0 Objevt Libary (I can see on a picture in the book that there
also is a Microsoft Excel 5.0 Object Libary).
But on my list there is Microsoft Excel 11.0 Object Libary and
Microsoft Excel 5.0 Object Libary.
So I selected the Microsoft Excel 11.0 Object Libary. But after
entering the code in the book it does not work.
Is it because of the difference between the object libaries?
I hope that some of you can help me on this
Kind regards
Anders Jensen
I am trying to make a windows form that uses excel to store some values
entered by the user. But I am having some problems with the object
libaries. The programs I use are Visual studio.net and Excel 2003
I am pretty much foloving the instructions in a book written by Michael
Halvorson (Title: Visual Basic.Net Step By Step).
The short version is that I must add a object libary to the visual
basic project to make it work with excel.
So I click the Project menu > Add reference... > select the COM tab >
and then the book says that I must scroll down and select the Microsoft
Excel 10.0 Objevt Libary (I can see on a picture in the book that there
also is a Microsoft Excel 5.0 Object Libary).
But on my list there is Microsoft Excel 11.0 Object Libary and
Microsoft Excel 5.0 Object Libary.
So I selected the Microsoft Excel 11.0 Object Libary. But after
entering the code in the book it does not work.
Is it because of the difference between the object libaries?
I hope that some of you can help me on this
Kind regards
Anders Jensen