Excel Without Excel

Author Message
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)
0
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.
 
#1
    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)
    0
    Why not use powershell and export whatever you need as a CSV. That's how I do most everything these days.
    "... when you are good and crazy, oooh, oooh, oooh, the sky is the limit!" - The Tick
    Goog places to start:http://www.visualbasicscript.com/m_24727/tm.htm
    http://www.visualbasicscript.com/m_47117/tm.htm
     
    #2
      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)
      0
      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.
       
      #3
        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)
        0
        Hmmm...I'm pretty sure that Open Office does expose an API, but I've never worked with it.
        "... when you are good and crazy, oooh, oooh, oooh, the sky is the limit!" - The Tick
        Goog places to start:http://www.visualbasicscript.com/m_24727/tm.htm
        http://www.visualbasicscript.com/m_47117/tm.htm
         
        #4
          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)
          0
          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.
           
          #5
            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)
            0
            While it seems silly to want to use Excel professionally (you mentioned accountants) without installing/paying for it, you could use Perl & WriteExcel
            http://search.cpan.org/di./Spreadsheet-WriteExcel/
             
             
            #6
              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)
              0
              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.
               
              #7
                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)
                0
                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
                 
                #8
                  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)
                  0
                  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.
                   
                  #9

                    Online Bookmarks Sharing: Share/Bookmark

                    Jump to:

                    Current active users

                    There are 0 members and 1 guests.

                    Icon Legend and Permission

                    • New Messages
                    • No New Messages
                    • Hot Topic w/ New Messages
                    • Hot Topic w/o New Messages
                    • Locked w/ New Messages
                    • Locked w/o New Messages
                    • Read Message
                    • Post New Thread
                    • Reply to message
                    • Post New Poll
                    • Submit Vote
                    • Post reward post
                    • Delete my own posts
                    • Delete my own threads
                    • Rate post

                    2000-2012 ASPPlayground.NET Forum Version 3.9