Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Using a .Net object in VBA

Status
Not open for further replies.

Boknaai

Programmer
Dec 8, 2002
3
ZA
I've written a .Net class library (compiled as a .dll) in C#. I now want to call this object from an Excel spreadsheet in the VBA code. I have tried adding a reference to the dll (tools > references > browse in the Visual Basic editor) but i get a message saying "can't add a reference to the specified file". Could somebody please suggest how i can go about doing this so i can use this object.

Thanks!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top