Top "Office-interop" questions

Office Interop is the layer using the COM Interop that allows .NET or C# to communicate with standard COM objects and libraries.

Can't get Microsoft.Office.Interop reference to work

I have a C# winforms app and I am simply trying to open an Excel sheet. When I try to …

c# winforms office-interop
How to open Outlook new mail window c#

I'm looking for a way to open a New mail in Outlook window. I need programically fill: from, to, subject, …

c# email .net-4.0 office-interop outlook-2003
Read from word document line by line

I'm trying to read a word document using C#. I am able to get all text but I want to …

c# asp.net .net ms-word office-interop
How to Freeze Top Row and Apply Filter in Excel Automation with C#

I have automation to create an Excel document from C#. I am trying to freeze the top row of my …

c# excel vba office-interop export-to-excel
Can I still use Microsoft.Office.Interop assemblies with office 2013?

I had to import an older project (in .Net 2) into Visual Studio 2013, it makes use of the Microsoft Primary Interop …

visual-studio-2013 office-interop office-2013
Fastest way to get an Excel Range of Rows

In a VSTO C# project I want to get a range of rows from a set of row indexes. The …

c# excel vsto office-interop
Accessing Office Word object model through asp.net results in "failed due to the following error: 80070005 Access is denied."

I have developed a website that allows users to upload office documents then uses the office object model to convert …

c# asp.net vb.net office-interop
Disposing of Microsoft.Office.Interop.Word.Application

(Somewhat of a follow on from the post (which remains unanswered): https://stackoverflow.com/q/6197829/314661) Using the following code Application …

c# interop automation office-interop
using c# to select a worksheet in excel

Using C# in .NET 3.5 with Visual Studio 2008, I am trying to set focus (or activate) a specific worksheet in an …

c# .net excel excel-2007 office-interop
How to save workbook without showing save dialog with Excel interop?

I have to create a Console application that exports a DataSet to Excel. The problem is that it shouldn't pop …

c# .net excel save office-interop