Office Development
Welcome to Office Interoperability section of C# Corner. In this section, you will find various Office Interoperability related source code samples, articles, tutorials, and tips.


  • Jaish Mathews

    How to code against Excel 2007 and 2003 dynamically

    Here in this article I am describing how we can code dynamically against Excel 2007 and Excel 2003.
    Jaish Mathews Apr 14, 2010
  • Abey Raju

    Adding an Image to a Word Document Programmatically (Microsoft Office 2007)

    This article is about the details of adding an image to a Word document programmatically.
    Abey Raju Jan 31, 2010
  • Scott Lysle

    Spell check enabled RichTextBox custom control

    This article describes a quick and simple approach to applying a spell check function to the rich text box control and bundling both features into a single custom control. Of course there is nothi...
    Scott Lysle Jul 01, 2009
  • Mike Gold

    Query Tool to Excel using C# and .NET

    This article show how to use .NET's interoperability feature to pull the data directly into the spreadsheet.
    Mike Gold Aug 30, 2006
  • John O Donnell

    Talking to the Outside World in Excel 2003

    This code sample shows how to connect to the internet inside of Excel 2003. The idea is when the workbook opens the code behind the workbook searches for quotes on NASDAQ and then populates the spr...
    John O Donnell Aug 30, 2006
  • Sushmita Kumari

    Play with the Excel Object Library using .NET

    In this article we will see usage of several things like how to use WebBrowser control, manipulating Excel object libarary.
    Sushmita Kumari Mar 02, 2006
  • Krishnan LN

    Writing Dataset to Excel in ASP.NET

    This article is helpful for those who would like to write dataset contents to a excel file and try to display it in the browser.
    Krishnan LN Feb 28, 2006
  • John O Donnell

    Using C# .NET in Excel 2003

    This article shows how you can take advantage of Visual Studio 2003 tools to write .NET applications that work with Office 2003.
    John O Donnell Jan 09, 2006
  • Shakthivel A

    Office11 Solution using .NET - A White Paper

    This detailed white paper contains the information about Office 11 support for Microsoft .NET. It also explains Office 11 object model and how to access Word and Excel documents using Visual Studio...
    Shakthivel A Jan 07, 2006
  • Mike Gold

    A Macro for Creating Properties from Private Fields

    Macros are a useful way of speeding up your coding efforts, however writing them can be a somewhat daunting task. Luckily, .NET gives you a pretty powerful recording feature for recording macros fr...
    Mike Gold Jan 07, 2006
  • Sarvesh Damle

    Leveraging on XML feature of Microsoft Office Word 2003

    Word 2003 came up with a new feature of saving the conventional word document (.doc) files in the XML format. You can retrieve the information inside the Word 2003 documents by using the XPath quer...
    Sarvesh Damle Jan 07, 2006
  • Sushmita Kumari

    Generating Excel Reports using ASP.NET and C#

    This article and code snippet shows how to generate Excel reports from ASP.NET using Excel objects in .NET Framework.
    Sushmita Kumari Jan 07, 2006