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.

WinWord.exe won't quit after calling Word.Documents.Add - Word .NET Interop

I'm running into the classic scenario where, when creating Word COM objects in .NET (via the Microsoft.Office.Interop.Word …

.net com interop ms-word office-interop
Convert only 1st Word document page to PDF

I'm using Office 2010 interop and C# 4. How can I convert just the 1st page of a word document to PDF? …

c#-4.0 pdf-generation office-interop word-2010
List fonts used by a Word Document (faster method)

I am working on a process for validating documents to make sure that they meet corporate standards. One of the …

vb.net ms-word office-interop
Call was rejected by callee. (Exception from HRESULT: 0x80010001 (RPC_E_CALL_REJECTED))

I have a small C# Winforms Application that is using Word.Interop to Take a Single Mail Merge Document, copy …

c# automation ms-word office-interop mailmerge
Filling fields in Word using c# and Microsoft Word Interop

I tried to Fill out Form Fields in Microsoft Word using C# Interop Assemblies with the following Code string filename = @"…

c# ms-word office-interop
Cannot debug or run Word AddIn because the required version of Microsoft Office is not installed

I need to work on an existing Word 2007 addIn project that's a part of a MSVS 2008 solution. However, when I …

.net ms-word ms-office add-in office-interop
Why does Microsoft.Office.Interop.Excel.Application.Quit() leave the background process running?

The following code leaves a Microsoft Excel background process running, until after my program has exited: var excelApplication = new Application(); …

c# excel office-interop excel-interop
Download EXCEL file from ASP.NET page without Generating physical file on server (On The Fly)

I am trying to export C# DataTable to EXCEL file on the fly (without creating physical file) using Microsoft Office …

c# asp.net openxml office-interop openxml-sdk
Inserting A Line Break (Not A Paragraph Break) Programatically To A Word Document

I am using the Office Developer Tools for Visual Studio 2013 in C#. Ever since Word 2007, adding a "\n" character adds …

c# office-interop
Microsoft Excel Application entry is missing in DCOM Config

The entry for "Microsoft Excel Application" is not there in DCOM Config (tried in both 32-bit and 64-bit). How can …

c# office-interop com-interop excel-interop dcom