TaterTot
-
Total Posts
:
33
- Scores: 0
-
Reward points
:
0
- Joined: 7/26/2010
-
Status: offline
|
Excel Without Excel
Friday, February 03, 2012 1:49 AM
( permalink)
Hi All, I was wondering if anyone knew any tricks or could provide me links to creating Excel applications without having Excel on the computer? Basically, I want to have a server compile information, write it to an excel file, and email it to me without wasting a license of Microsoft Office on that server. Is this possible? Let me rephrase...is this possible without using Open Office? Thanks in advance.
|
|
|
|
ebgreen
-
Total Posts
:
8227
- Scores: 98
-
Reward points
:
0
- Joined: 7/12/2005
-
Status: online
|
Re:Excel Without Excel
Friday, February 03, 2012 3:18 AM
( permalink)
Why not use powershell and export whatever you need as a CSV. That's how I do most everything these days.
|
|
|
|
TaterTot
-
Total Posts
:
33
- Scores: 0
-
Reward points
:
0
- Joined: 7/26/2010
-
Status: offline
|
Re:Excel Without Excel
Friday, February 03, 2012 3:30 AM
( permalink)
If the excel file were for me, I would say that's acceptable. Unfortunately, this will be emailed to my accounting department and they need colors, titles, merged cells, bla, bla, bla. So...it needs to be an xls file with proper formatting.
|
|
|
|
ebgreen
-
Total Posts
:
8227
- Scores: 98
-
Reward points
:
0
- Joined: 7/12/2005
-
Status: online
|
Re:Excel Without Excel
Friday, February 03, 2012 3:55 AM
( permalink)
Hmmm...I'm pretty sure that Open Office does expose an API, but I've never worked with it.
|
|
|
|
59cobalt
-
Total Posts
:
969
- Scores: 91
-
Reward points
:
0
- Joined: 7/17/2011
-
Status: offline
|
Re:Excel Without Excel
Saturday, February 04, 2012 10:37 AM
( permalink)
I don't think there's a reasonable way to script creation of (formatted) Excel files without having Excel. I don't have that much experience with (Libre|Neo|Open)Office from an automation PoV, but judging from a quick glance it doesn't look like they integrate as well as Excel with VBS. Perhaps you could hand-craft .xlsx files, since they're a bunch of XML files in a zip archive. However, that's probably the most painful approach aside from manually carving the bits into the disk.
|
|
|
|
ehvbs
-
Total Posts
:
3320
- Scores: 112
-
Reward points
:
0
- Joined: 6/22/2005
- Location: Germany
-
Status: offline
|
Re:Excel Without Excel
Sunday, February 05, 2012 12:04 AM
( permalink)
|
|
|
|
Wakawaka
-
Total Posts
:
456
- Scores: 23
-
Reward points
:
0
- Joined: 8/27/2009
-
Status: offline
|
Re:Excel Without Excel
Sunday, February 05, 2012 1:00 AM
( permalink)
Do they do anything with this sheet other than look at the data on it? If not you could created XSLT template files and export the data to XML and have the XSLT file structure the XML in a nice format that is readable by a web browser.
|
|
|
|
TNO
-
Total Posts
:
2094
- Scores: 36
-
Reward points
:
0
- Joined: 12/18/2004
- Location: Earth
-
Status: offline
|
Re:Excel Without Excel
Sunday, February 05, 2012 9:05 AM
( permalink)
TaterTot Hi All, I was wondering if anyone knew any tricks or could provide me links to creating Excel applications without having Excel on the computer? Basically, I want to have a server compile information, write it to an excel file, and email it to me without wasting a license of Microsoft Office on that server. Is this possible? Let me rephrase...is this possible without using Open Office? Thanks in advance. I had to do this a few years ago. Maybe the code will still work with some effort: http://www.visualbasicscript.com/tm.aspx?m=71130
To iterate is human, to recurse divine. -- L. Peter Deutsch
|
|
|
|
TaterTot
-
Total Posts
:
33
- Scores: 0
-
Reward points
:
0
- Joined: 7/26/2010
-
Status: offline
|
Re:Excel Without Excel
Monday, February 06, 2012 1:18 AM
( permalink)
Thank you everyone for your replies. I think I'll venture down the XML road mentioned by 59cobalt, Wakawaka, and TNO (thanks for the link TNO). If I get a solution working in a reasonable amount of time I will update this thread with my code. @ehvbs: I should included the words "legally" and "staying in compliance" in my question. I'm not trying to figure out a loophole through Microsoft's licensing (that would require a PHD). I was just curious if my question is possible to do so I can run this code on a server and not my workstation (which is properly licensed with Microsoft Office). Thanks again.
|
|
|
|