Repost: Method XMLURL of object ISpreadsheet Failed

R

rusty cranbrook

I am trying to load an xml file, created by Access 2002, into an OWC
10 spreadsheet control. The xml file represents a simple table. I can
load the xml file into IE and it's shown as a regular xml file.
However when I use the XMLURL method of the OWC spreadsheet control I
get the following error:

"Method 'XMLURL' of object 'ISpreadsheet' Failed"

I've included the full path to the file. The OWC 10 control is placed
onto an Access 2002 form. According to my understanding, this should
work, but obviously I have something wrong.
 
A

Alvin Bruney

XML needs to be formatted in a very specific way to load into the
spreadsheet. Outside of that, it's often easier to use CSV format as a
source of data transfer. It is just a lot less hassle. If you absolutely
must use XML. Download the office toolpack, crack open the XMLDATA example
and observe the special header and footer tags which must be added to the
xml to allow it to load. Then incorporate it in your application.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top