Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default Converting ExcelML to .xls

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

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 415
Default Converting ExcelML to .xls

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



egroups.com...
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



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default Converting ExcelML to .xls

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

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 236
Default Converting ExcelML to .xls

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)

  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4,391
Default Converting ExcelML to .xls

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

wrote in message
ups.com...
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





  #6   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 236
Default Converting ExcelML to .xls

Sorry wrong news group.

You could doing it with VBScript.

  #7   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default Converting ExcelML to .xls

On 1 Jun, 15:07, "
wrote:
Sorry wrong news group.

You could doing it with VBScript.


Really - how?

Chris

  #8   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Converting ExcelML to .xls

Hello Chris. Im sorry to ask, do you found a suitable approach for
your problem ?
Thanks in advance.

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Converting EST to PST neilalan Excel Worksheet Functions 4 April 19th 12 11:17 PM
Converting a date to a text field w/o converting it to a julian da LynnMinn Excel Worksheet Functions 2 March 6th 08 03:43 PM
converting [email protected] Excel Discussion (Misc queries) 2 August 4th 06 11:44 PM
ExcelML and Pivots ConsolidationReference kleine98 Excel Discussion (Misc queries) 0 December 13th 05 05:37 PM
converting VBA into a com add-in Liam[_2_] Excel Programming 1 April 27th 04 05:30 PM


All times are GMT +1. The time now is 07:12 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"