- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I am writing a program to export the BOM from an assembly. As I found out the BOM export from an API sorts the columns alphabetically. I would like to sort the columns based on an XML file that is used. I looked at some posts to resort the BOM xlsx file using the Excel reference. However, an array has to be created for the columns to sort by and the posts I viewed manually created the array.
I would like to read the XML file to capture an array dynamically as users typically have different needs. I am able to read the XML file but I'm trying to figure out how to determine the column order in the xml file.
I thought the XML file listed the columns in order and I created a list of column names where visible = true but it doesn't seem to be working as I first thought.
Any info on understanding the XML file would be greatly appreciated.
Solved! Go to Solution.