I need to grab the ranges (row, column etc.) a particular XmlMap in an excel worksheet is pointing to programmatically via interop. Does anyone have any thoughts? I can not see any properties/methods/members of the XmlMap interface that provide this information.
Share
I ended up solving this problem by dumping the XmlMap output to a file, using the .NET XML library to find all of the elements in the map and the using ‘Worksheet.XmlDataQuery’ to find to cell/range location of each element. Its dirty, but its the only way I could get this to work.