Windows Develop Bookmark and Share   
 index > Windows Forms General > Copy and Past Excel spreadsheet
 

Copy and Past Excel spreadsheet

I want to create a Windows Forms application that can be used to copy a spreadsheet from MS Excel and paste the contents into the winform.  I also then need to be able to add and remove rows and columsn.

I am relatively new to .Net and Windows Forms programming so please forgive if the question is pretty basic!

Regards,

Wallace
Wallace_  Wednesday, August 17, 2005 12:51 PM
You need to develop and Excel Interop. and connect to the Excel spreadsheet in code. 

Excel.Worksheet.Range( A1,AX) should give you the value of the rows covered.  You can then take that object and dump it in a grid or whatever.

 
Sameerhanda  Thursday, August 18, 2005 8:49 PM
You need to develop and Excel Interop. and connect to the Excel spreadsheet in code. 

Excel.Worksheet.Range( A1,AX) should give you the value of the rows covered.  You can then take that object and dump it in a grid or whatever.

 
Sameerhanda  Thursday, August 18, 2005 8:49 PM
Thanks for the reply...

Wallace
Wallace_  Friday, August 19, 2005 7:39 AM

You can use google to search for other answers

Custom Search

More Threads

• microsoft access and Visual Basic.net 2003
• Custom Toolbox with User Controls
• The best and fastest way of image processing ?
• Writing to form control from thread in DLL
• Question about Customizing Save As dialog
• How to schedule a .Net windows service using win scheduled tasks service ?
• How can I draw individual pixels in windows forms?
• TableLayoutPanel Flickering
• Single-Click to open dropdown in datagridviewcomboboxcolumn
• Bitmap Resolution with Crystal Image+C#