Click here to Skip to main content
12,505,592 members (67,039 online)
Rate this:
 
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.3K

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 8-Feb-13 9:45am
   
Just about reposted the same links. +5.
CHill60 8-Feb-13 9:47am
   
Thanks. "Great minds think alike" ... although mine's not that great today :-)
Marcus Kramer 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
Top Experts
Last 24hrsThis month


Advertise | Privacy | Mobile
Web02 | 2.8.160927.1 | Last Updated 8 Feb 2013
Copyright © CodeProject, 1999-2016
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