|
-
Oct 26th, 2012, 03:35 AM
#1
Thread Starter
Junior Member
Write to existing Excel file, without having Excel installed?
Hi there,
I am looking for a function that will let me write my variables to an existing Excel file. I found one solution, but it only works on machines with Microsoft Office installed. Does anyone have a good idea to solve this?
Thank you in advance
-
Oct 26th, 2012, 03:40 AM
#2
Re: Write to existing Excel file, without having Excel installed?
If you want to write to an XLS file then basically you must have Excel installed so that you can use COM Interop to control an Excel instance to do the work. If you want to write to an XLSX then you can use the Open XML SDK, which is a .NET library for writing to Office 2007 and later format files.
http://www.microsoft.com/en-us/downl...s.aspx?id=5124
-
Oct 26th, 2012, 04:31 AM
#3
Addicted Member
Re: Write to existing Excel file, without having Excel installed?
-
Oct 26th, 2012, 03:11 PM
#4
Thread Starter
Junior Member
Re: Write to existing Excel file, without having Excel installed?
Hi Guys,
Thank you very much for your answers.
I can't use Com Interop, because of the need of Office, but I will take a look at the links #3 provided.
Again, thank you very much
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|