0
votes

i want to create an excel AddIn .it is simple :

File>New Project > Visual Basic > Office > Version 2010>OK

but an error says "Object reference not set to an inctance of an object"!

my VS version is 2010 ultimate with Office 2010

in addition , i downloaded these two files and inistalled them hope they help me but it makes no change for me

http://www.microsoft.com/download/en/confirmation.aspx?id=3508

http://www.microsoft.com/download/en/details.aspx?displaylang=en&id=20479

what is wrong and what is the solution?

thanks in advance

1

1 Answers

0
votes

If you have done default VS 2010 installation after Office installation it should work. I would recommend you to repair or reinstall with Office developer tools checked.

Check Microsoft Office section here