Jump to content
Xtreme .Net Talk

Recommended Posts

Posted (edited)

Dear all,

 

I couldn't find anything with the search option on this site with XML. So I am asking it again, so please don't fire me if it is allready posted okay ? :)

 

We (me and my collegue) have a problem. Since Excel is one hell of a disaster to deploy to other programs. We want to use XML sheets. Since in Excel you can export them to XML format.

 

But what is an easy way to read 4 worksheets. In 4 different array's ?

 

With excel we used the direct cast option:

xlsBook = xlsApp.Workbooks.Open(FilePath & "ConfigFile.xls")
Dim xlsSheet As Excel.Worksheet = xlsBook.Worksheets("Graphics_IDList")
xlsRng = xlsSheet.Range(xlsSheet.UsedRange.Columns.Address)
BMSArray = DirectCast(xlsRng.Value, Object(,))

 

Is something like this also possible with XML ? Or does anybody know a better or other solution ?

 

Thanks in advance !

Regards,

Antoine

 

[edit]

I'm working with VB.NET 2003

[/edit]

Edited by Antoine

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...