365体育足球滚球比分

Dark mode beta

You’ve been asking for dark mode for years.
365体育足球滚球比分 The is finally here.

Change your preferences365体育足球滚球比分 any time.

Questions tagged [office-interop]

365体育足球滚球比分 Office Interop is the layer using the COM Interop that allows .NET or C# to communicate with standard COM objects and libraries.

Filter by
Sorted by
Tagged with
0
votes
1answer
35 views

Copying data from different Excel worksheets in C#

I am using a Windows Desktop App and I wish to open a new Excel workbook and worksheet and then have the user select an existing Excel file so that the program can copy data onto the new sheet. The ...
0
votes
0answers
16 views

Word Interop and Iterating through Shape Objects to find textbox

I'm attempting to iterate through a word document and its shape objects to find DOCVARIABLES. The shape object has a textbox. Here's the macros I'm pulling directly from Word. Selection....
0
votes
0answers
17 views

.NET MS Interop Word not saving document in UTF8 web page

Note: A sample document I used for test can be foud in: http://ftp.3gpp.org//Specs/archive/38_series/38.413/38413-100.zip Problem I am trying to convert an MS Word 97-2003 document (.doc) into a UTF-...
-2
votes
0answers
25 views

Interacting with Office Object Library through SSH

At work we mainly develop on linux and have available to us a Windows Server 2012 R2 for utilizing anything Windows based. I have been exploring ways to SSH into the Windows server using openSSH and ...
1
vote
1answer
24 views

Replace text in Word Interop 16

http://docs.microsoft.com/en-us/visualstudio/vsto/how-to-programmatically-search-for-and-replace-text-in-documents?view=vs-2019 Microsoft doesn't give full code in docs. But with this my code try ...
0
votes
1answer
22 views

How to find and replace text in header of landscape page of word document [c# word interop]?

I have a template word document and I'm using a function to replace specific text with my desired text. It works for the whole document (main body & headers) except for the header on the last page ...
0
votes
0answers
29 views

why doesnt Excel.Application.Quit(); work for me?

while (updating) { Excel.Application excel1 = new Excel.Application(); sheet = excel1.Workbooks.Open(from_file, UpdateLinks: 1, ReadOnly: true); excel1.ActiveWorkbook.XmlMaps[1].ExportXml(out ...
0
votes
0answers
17 views

Problem with background worker and Interop excel [closed]

I am creating an application where I take 1. One / More CSV files as input 2. Process these CSV files and generate xlsx file corresponding to each csv [HIghlighting etc] 3. Generate a final summary ...
-1
votes
1answer
25 views

C# to close Microsoft WORD document that was created but was never saved

My following code creates a WORD document that my C# code can edit. But if an error occurs I want to close the doc in the catch block of try-catch statement. Question: How can we programmatically ...
1
vote
1answer
37 views

How to replace double quotes in Microsoft WORD using C#

Following successfully replaces Apple with Mango in a WORD document if it has the word Apple: myDocRange.Find.Execute(FindText: "Apple", Format: false, ReplaceWith: "Mango", MatchWildcards: true, ...
0
votes
1answer
29 views

Interop Word & Excel : Can't close an Excel workbook embedded in Word document

I got an error when i'm closing the Excel workbook embedded in a Word document. This document got only one Excel chart. Nothing else : texts, etc... This is the code : Application _application = new ...
1
vote
0answers
52 views

Formatting Sections of a TextRange or TextRange2 in PowerPoint.Interop C#

I would like to add rich text to a TextBox on a PowerPoint Slide. I am using .Net 4.7.2 with Microsoft.Office.Interop.PowerPoint Overview // Initialization of the Application public ...
-1
votes
0answers
26 views

Set ChapterStyleLevel of CaptionLabel to 2 for only one table in Word document

I am entirely new to this, working on a VSTO add-in using Interop. The purpose is to add tables into the document. I am facing an issue while adding captions to the table under heading level 2. There ...
1
vote
0answers
20 views

Office 2019 and VSTO runtime

Has anything changed with Office 2019 regarding VSTO runtime? I'm deploying my Word add-in using an MSI installer and VSTOR 2010 is already selected as a pre-requisite. The installer seems to work on ...
1
vote
1answer
23 views

Issue using Microsoft.Office.Interop.Excel: Could not load file or assembly 'office, Version=15.0.0.0

I have built a web app using .net core 3.1.1, and downloaded Microsoft.Office.Interop.Excel from Nuget. Reason I am not using ClosedXML as it is not working when compiled...see link to stackO post ...

15 30 50 per page
1
2 3 4 5
210