Avatar of durick
durickFlag for United States of America asked on

Access 2003 XML import not importing all columns

using following vba code to import an xml file into Access 2003
Application.ImportXML _
 DataSource:=strImportFileName, _

the xml file opens correctly in excel, but in access it only imports 6 columns, as shown
have tried using the .xsl file but it gives an error that '>' character was expected?

Tired of raking my brain another day on this problem
Microsoft Access

Avatar of undefined
Last Comment
Scott McDaniel (EE MVE )

8/22/2022 - Mon
Jeffrey Coachman

What happens if you jut create the XML file for that one table?

How are you exporting the data?

Where is the XLM data coming from (Excel, Web, Other?)

test732inftab.xml is the xml file  for just the information table, all 16 columns
it was created in Access 2003 vba with dom document commands
Jeffrey Coachman

Yes,  but the xml file contained other tables...
Create an xml file with only one table...

<it was created in Access 2003 vba with dom document commands >
What about just using the wizard to export...
Your help has saved me hundreds of hours of internet surfing.

can you see what other tables are contained in the test732inftab.xml file? because it opens fine in excel
Scott McDaniel (EE MVE )

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
See how we're fighting big data
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question