Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

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

Posted on 2008-10-27
3
Medium Priority
?
315 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 70

Accepted Solution

by:
Éric Moreau earned 2000 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

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Excel can be a tricky bit of software to get your head around. Whilst you’ll be able to eventually get to grips with the basic understanding of how to get by, there are a few Excel tips that not everybody will even know about let alone know how to d…
This article describes a serious pitfall that can happen when deleting shapes using VBA.
The viewer will learn how to create a normally distributed random variable in Excel, use a normal distribution to simulate the return on an investment over a period of years, Create a Monte Carlo simulation using a normal random variable, and calcul…
This Micro Tutorial will demonstrate how to use a scrolling table in Microsoft Excel using the INDEX function.

670 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