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.

Killing EXCEL.exe Process from C# in a Windows Service

I have a windows service that opens up an Excel spreadsheet via the Microsoft.Office.Interop.Excel.Application object. Application …

excel windows-services office-interop office-automation
Unable to cast COM object - Microsoft outlook & C#

I have written this code to view the unread items in my outlook mail box and here is the code: …

c# outlook c#-2.0 office-interop outlook-2003
microsoft.interop.excel Formatting cells

I am building a report using the microsoft.interop.excel library in C#. I have something like this: Range rangeTarget; . . . …

c# excel formatting office-interop excel-interop
How to disable popups when opening a file using Microsoft.Office.Interop

Such as read-only confirm, other alerts. What to do with these popups? Or ignore them?

c# ms-office office-interop office-pia
Fastest way to write cells to Excel with Office Interop?

I am writing a function to export data to Excel using the Office Interop in VB .NET. I am currently …

vb.net performance excel com office-interop
Filling Word template fields with C#

Currently, if I create a Word Document Template with fields, and then fill them using C#, I do it similar …

c# ms-word office-interop word-template word-field
Automate Onenote 2010 From Excel 2007, using VBA?

I would like to use VBA in Excel 2007 to step through about 500 receipts, which have been converted to one large …

excel excel-2007 office-interop onenote vba
how to resolve The message filter indicated that the application is busy. (Exception from HRESULT: 0x8001010A (RPC_E_SERVERCALL_RETRYLATER))

PowerPoint.Application PowerPoint_App; PowerPoint_App = new PowerPoint.ApplicationClass(); PowerPoint_App.DisplayAlerts = PowerPoint.PpAlertLevel.ppAlertsNone; PowerPoint.Presentation presentation; presentation = null; …

c# asp.net ms-office office-interop
Why am I receiving exception from Office's Outlook library?

I have an application that calls Email hello = new Email(appropriate constructor); hello.Email_Send(); I'm receiving the exception: Retrieving …

c# outlook office-interop
How to add items one at a time to to a new line a word document using word interop

I am trying to add these three types of content into a word doc. This is how I am trying …

c# .net ms-word office-interop