Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
CMichaelAPCC
 
Posts: n/a
Default Importing xml Data into Excel 2002

It appears that there is a bug in Excel 2002 relating to importing xml files.
If the xml file is empty for example:
<?xml version="1.0"?
<SUA1500
</SUA1500
Excel 2002 will crash when trying to import this using Import Data, or New
Web Query. However, if the file contains something inside these tags, like:
<?xml version="1.0"?
<SUA1500
Something
</SUA1500
Excel 2002 will not crash. I tried various combinations of this, and it
appears that Excel crashes only if there is one empty tag. If there are
other populated tags such as:
<?xml version="1.0"?
<SUA1500
Something
</SUA1500
<SUA1500
</SUA1500 or

<?xml version="1.0"?
<SUA1500
</SUA1500
<SUA1500
Something
</SUA1500 Excel 2002 is happy.

Another point of interest is that Excel 2000 does not crash for any of the
above examples. It simply takes all the lines in and places them into cells
without trying to interpret them or add anything or wait for additional
information.
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
Excel 2002 importing file origin is in japanese... Bryan Excel Discussion (Misc queries) 0 March 7th 05 05:59 PM
How do i copy columns of data in notepad into excel? JJ Excel Discussion (Misc queries) 1 February 10th 05 10:21 PM
Excel 2002 and 2000 co-install. Control Which Starts ? cnuk Excel Discussion (Misc queries) 2 January 17th 05 09:07 PM
Pulling data from 1 sheet to another Dave1155 Excel Worksheet Functions 1 January 12th 05 06:55 PM
Fetching External Data from Excel Sri Excel Discussion (Misc queries) 2 January 3rd 05 12:46 PM


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

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

About Us

"It's about Microsoft Excel"