locked
A Reference to 'Microsoft Sxcel 12.0 object library' could not be added. RRS feed

  • Question

  • Hi

                          I am using visual basic 2008 Express edition. I try to add references of 'Microsoft Excel12.0 Object Library' im getting the below problem

             "A reference to 'Microsoft Excel12.0 Object Library' could not be added.

              A reference to this type library already exits.

              you must remove the reference 'Microsoft.office.Excel' before adding this one."

    How can i resolve this problem.... where its already exits? how to remove this before add? this all i don't no... please help me how to do...

    Wednesday, December 5, 2012 11:58 AM

Answers

  • Hi Sivaranjini,

    Welcome to the MSDN forum.

    >>where its already exits?

    You can check it whether exists by click the “Show All Files” button in Solution Explorer. You can open the “Refenerences” node in the below and check the references in it.

    >>how to remove this before add?

    You can do this by right click the specific references -> Remove.

    Hope this helps.


    Mark Liu-lxf
    MSDN Community Support | Feedback to us
    Develop and promote your apps in Windows Store
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.

    • Marked as answer by sivaranjini Thursday, December 6, 2012 9:14 AM
    Thursday, December 6, 2012 5:33 AM
    Moderator