Questions tagged as 'interop'

1
answer

Number saved as text in excel

I have an automatism that takes data from different data sources, the problem is that there are some decimal data that I save as text. How can I do so that I do not save these numbers as text? This is what I have now //Variables interop...
asked by 12.04.2018 / 10:09
1
answer

Export two DataGridViews to an Excel file

I have to add the information of two DataGridViews in the same sheet of Excel consecutively. This is the code I have that only serves for a single DataGridView. Microsoft.Office.Interop.Excel.Application app = new Microsoft.Office.Inter...
asked by 10.03.2017 / 22:10
1
answer

Access the properties of a word with C #

Good afternoon, I need to read the properties and values of them in a word document, so far I have only managed to access the name of them but not their value. Thanks in advance for the help. This is the code I have: Microsoft.Office.Int...
asked by 09.03.2017 / 17:22
1
answer

Use .NET component in COM + application

In my company there is a asp application that interacts with COM + components made in Visual Basic 6 and one of those COM + components interacts with a component made with .NET C #, for which the type library had to be created ( tl...
asked by 24.02.2016 / 23:07
0
answers

Office Interop does not work in Windows Server 2016

Good day, dear ones: What libraries or resources do I need to properly operate a .NET application that uses Office Interop in a Windows Server 2016 ? The error that does not allow me to continue is:    The COM class generator could n...
asked by 20.03.2018 / 16:43
1
answer

How to get the combined rows of a column with interop

I would like to obtain the value of the rows that are combined from a given column, I leave an image of an example of a combined column in Excel The result I want to obtain is for example: A3: A11, that is to say that in that range I...
asked by 28.02.2017 / 00:34
0
answers

Error accessing the defined names in an Excel using Interop

I'm doing a program in C # (Visual Studio 2015) from which I have to update an excel that has a series of formulas, etc. I have decided to use Interop instead of other libraries like open xml or epplus because I need to update certain fields...
asked by 17.10.2018 / 11:34
0
answers

Formula concatenate excel in c #

I'm applying a concatenation formula using the excel tools for c #, the formula I'm trying to apply is to concatenate Code C # Sum_RangeResuTot.Formula = "=CONCATENATE('LA SUMA ES',SUM(F" + (i + 5).ToString() + ":F" + (i + 15).ToString();...
asked by 23.06.2018 / 05:01
1
answer

Error creating a Word document

I am trying to create a Word document from Ms Visual Basic 2010 by means of a button on a form, I have already added the reference of Microsoft Word 15.0 Object Library to the project, the Word document is created successfully and saves i...
asked by 23.01.2018 / 03:42
0
answers

Access error with Microsoft.Office.Interop

Good morning, I have an application in which I generate an Excel from some html files, everything works correctly locally but when I publish it on the server it works sometimes if and sometimes not. I am not able to come up with the solutio...
asked by 12.09.2017 / 11:13