Solved

How to open an Excel file and edit it on a windows form

Posted on 2008-10-27
3
297 Views
Last Modified: 2012-05-05
I need to be able to open, create and edit an Excel file from a Windows form. I am not worth using DataGrid or DataGridView, abd not a WebBrowser.
What i want is the most similar to Excel itself.

Are some object in the office who i can use to it?

In teory i can use this objet : AxSpreadsheet but i dont find samples for he and when i put this object in the windows form i have a error message when i try to load the form.

Original Error Message in Spanish
Error: Error al crear el formulario. Consulte Exception.InnerException para obtener más detalles. Error: No se puede obtener el identificador de ventana para el control 'AxSpreadsheet'. Los controles ActiveX sin ventana no son compatibles.

google traduction:

Failed to create the form. See Exception.InnerException for more details. Error: Unable to get the identifier of the window to control 'AxSpreadsheet'. ActiveX controls without windows are not compatible.
0
Comment
Question by:JPdeLeon
3 Comments
 
LVL 69

Accepted Solution

by:
Éric Moreau earned 500 total points
ID: 22811575
there are some 3rd party products that allows you to do it like http://www.fpoint.com/netproducts/spreadwin/spreadwin.aspx
0

Featured Post

What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

Join & Write a Comment

INDEX and MATCH can be used to great effect to replace HLOOKUP and VLOOKUP as it does not have the limitation of needing the data to be sorted so that the reference value is in the first column or row. It also has the ability to perform a bi-directi…
The ECB site provides FX rates for major currencies since its inception in 1999 in the form of an XML feed. The files have the following format (reducted for brevity) (CODE) There are three files available HERE (http://www.ecb.europa.eu/stats/exch…
The viewer will learn how to simulate a series of sales calls dependent on a single skill level and learn how to simulate a series of sales calls dependent on two skill levels. Simulating Independent Sales Calls: Enter .75 into cell C2 – “skill leve…
Graphs within dashboards are meant to be dynamic, representing data from a period of time that will change each time the dashboard is updated with new data. Rather than update each graph to point to a different set within a static set of data, t…

708 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now