Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: C# Office-Interop
I am developing on a server where MS Office cannot be installed as per policy(but I do have Admin rights). The program is required to open an excel file ,refresh its data sources and save it. As office is not installed on this server I cannot add the Office\Excel references to my project.
 
Is there a way to install the Office Libraries without installing MS office?
Posted 8-Feb-13 3:19am
SalCon5.6K

1 solution

Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

Not really, you'll need to find an alternative way of manipulating the excel file or use a different format or mechanism.
 
There's fair bit of stuff out there to help - have a look at http://code.google.com/p/excellibrary/[^]
 
or
How to generate Excel in C program using BIFF8 format[^]
 
or this article on CP
Generate Excel files without using Microsoft Excel[^]
  Permalink  
Comments
Marcus Kramer at 8-Feb-13 9:45am
   
Just about reposted the same links. +5.
CHill60 at 8-Feb-13 9:47am
   
Thanks. "Great minds think alike" ... although mine's not that great today :-)
Marcus Kramer at 8-Feb-13 10:12am
   
It's Friday. Aren't we supposed to be in shut-down mode?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 CPallini 395
1 Sergey Alexandrovich Kryukov 333
2 BillWoodruff 309
3 OriginalGriff 307
4 George Jonsson 275
0 OriginalGriff 5,095
1 CPallini 4,285
2 Sergey Alexandrovich Kryukov 3,767
3 George Jonsson 2,941
4 Gihan Liyanage 2,386


Advertise | Privacy | Mobile
Web03 | 2.8.140916.1 | Last Updated 8 Feb 2013
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100