locked
Component Referance Problem RRS feed

  • Question

  • User-1899407131 posted

    Hi; I'm reading Excel Sheet Data in my application. I'm refering "Microsoft.Office.Interop.Excel.ApplicationClass" in my Appl. But its giving an error saying [type or namespace 'interop' doesnot exist in the namespace'Microsoft Office' are you missing an assambly referance]. Am i missing some component referance.

    i'm using

    using Microsoft.Office.Interop;

    Should i use anything else ??

    Thursday, August 21, 2008 2:22 PM

Answers

  • User-1899407131 posted

    Hi; I got the solution. 

    using Microsoft.Office.Interop;

    using Microsoft.Office.Interop.Excel;

    and taking the referance of

    1 "Microsoft Excel 11.0  Object  Library",

    2."Microsoft Excel 12.0  Object  Library",

    3."Microsoft Excel 5.0  Object  Library",

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Friday, August 22, 2008 2:52 AM