PC Review


Reply
Thread Tools Rate Thread

Converting ExcelML to .xls

 
 
ChrisBowringGG@gmail.com
Guest
Posts: n/a
 
      31st May 2007
Hello

Is there a way of converting ExcelML (.xml) workbooks into
standard .xls files? I would like to do this without using Excel as it
is going to be part of another application, and I don't want all the
hassle of opening Excel and dealing with all the user-oriented stuff.

Thanks

Chris

 
Reply With Quote
 
 
 
 
NickHK
Guest
Posts: n/a
 
      31st May 2007
Chris,
XML is nothing to do with Excel, per se.

IMHO, unless you want a lot of trouble parsing the XML DOM and converting
that to Excel with formatting etc, just open it in Excel, if you have access
to Excel > v9.

NickHK


<(E-Mail Removed)>
???????:(E-Mail Removed)...
> Hello
>
> Is there a way of converting ExcelML (.xml) workbooks into
> standard .xls files? I would like to do this without using Excel as it
> is going to be part of another application, and I don't want all the
> hassle of opening Excel and dealing with all the user-oriented stuff.
>
> Thanks
>
> Chris
>



 
Reply With Quote
 
ChrisBowringGG@gmail.com
Guest
Posts: n/a
 
      31st May 2007
Thanks NickHK

Allow me to be more specific. I have an application that creates Excel
workbooks in XML form (i.e. what you would get if you saved a workbook
as an Xml Spreadsheet in Excel 2003). This doesn't use the Excel
application as it can just generate the workbooks from XSL templates,
and this part is straightforward, certainly easier than using the
Office COM dlls to do the same thing.

The problem is I then have Excel spreadsheets in Xml format, which
cannot be opened in versions of Excel < 2003. So, I want to convert
these back into the standard .xls format. However, I don't want to
open Excel to do this, because as Microsoft say:

"Server-side components need to be highly reentrant, multi-threaded
COM components with minimum overhead and high throughput for multiple
clients. Office Applications are in almost all respects the exact
opposite."

I was hoping somebody would know about a tool to do this.

Thanks

Chris

 
Reply With Quote
 
gimme_this_gimme_that@yahoo.com
Guest
Posts: n/a
 
      1st Jun 2007
Yes, you can do it with Applescript. Infact, you could create a Perl
script that you could call on the command line to do it (which calls
Applescript to do the job)

 
Reply With Quote
 
NickHK
Guest
Posts: n/a
 
      1st Jun 2007
Chris,
You can create Excel workbooks without Excel being installed. There are
various classes/dll around. Here's one of the more complex :
http://www.freevbcode.com/ShowCode.Asp?ID=6856
I assume you have some means of compiling this VB code, or converting to
your language of choice, although the download comes with compiled DLLs and
samples.

So either do both .xml and .xls versions or drop the .xml and go with .xls

NickHK

<(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Thanks NickHK
>
> Allow me to be more specific. I have an application that creates Excel
> workbooks in XML form (i.e. what you would get if you saved a workbook
> as an Xml Spreadsheet in Excel 2003). This doesn't use the Excel
> application as it can just generate the workbooks from XSL templates,
> and this part is straightforward, certainly easier than using the
> Office COM dlls to do the same thing.
>
> The problem is I then have Excel spreadsheets in Xml format, which
> cannot be opened in versions of Excel < 2003. So, I want to convert
> these back into the standard .xls format. However, I don't want to
> open Excel to do this, because as Microsoft say:
>
> "Server-side components need to be highly reentrant, multi-threaded
> COM components with minimum overhead and high throughput for multiple
> clients. Office Applications are in almost all respects the exact
> opposite."
>
> I was hoping somebody would know about a tool to do this.
>
> Thanks
>
> Chris
>



 
Reply With Quote
 
gimme_this_gimme_that@yahoo.com
Guest
Posts: n/a
 
      1st Jun 2007
Sorry wrong news group.

You could doing it with VBScript.

 
Reply With Quote
 
ChrisBowringGG@gmail.com
Guest
Posts: n/a
 
      6th Jun 2007
On 1 Jun, 15:07, "gimme_this_gimme_t...@yahoo.com"
<gimme_this_gimme_t...@yahoo.com> wrote:
> Sorry wrong news group.
>
> You could doing it with VBScript.


Really - how?

Chris

 
Reply With Quote
 
rene.rugerio@gmail.com
Guest
Posts: n/a
 
      8th Jun 2007
Hello Chris. Im sorry to ask, do you found a suitable approach for
your problem ?
Thanks in advance.

 
Reply With Quote
 
ChrisBowringGG@gmail.com
Guest
Posts: n/a
 
      13th Jun 2007
On 8 Jun, 19:52, rene.ruge...@gmail.com wrote:
> Hello Chris. Im sorry to ask, do you found a suitable approach for
> your problem ?
> Thanks in advance.


Afraid not. I'm going to use automation to do the conversion, as there
shouldn't be much to go wrong in such a simple step (famous last
words).

Sorry

Chris

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: Converting VB6 to C# Alex Clark Microsoft Dot NET Framework 3 22nd Aug 2008 10:45 PM
Converting a date to a text field w/o converting it to a julian da LynnMinn Microsoft Excel Worksheet Functions 2 6th Mar 2008 03:43 PM
ExcelML and Pivots ConsolidationReference kleine98 Microsoft Excel Misc 0 13th Dec 2005 05:37 PM
Converting MPG to AVI JRW Windows XP Video 3 24th Apr 2004 06:45 PM
Converting from wma to mp3 Microsoft Windows 2000 Multimedia 0 25th Feb 2004 08:01 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 07:46 AM.