Kick-Start Lists and XML
To see how Excel’s list and XML features work, start Excel and follow these steps:
Choose File → Open, type http:// http://www.mstrainingkits.com/Excel/ExcelObjects.xml , and click OK. Excel asks you how you want to open the file (Figure 1-3).

Figure 1-3. Opening an XML file in Excel
Choose Use the XML Source task pane and click OK. As shown in Figure 1-4, Excel asks if it’s OK to create a schema.

Figure 1-4. Excel offers to do some work for you
Click OK, and Excel reads the XML file and generates a view of the data it contains in the XML Source task pane, like that in Figure 1-5.
Drag these elements from the object folder to adjacent cells in a row: introduced, topic, name, and docString. Excel creates a list on the worksheet (Figure 1-6).

Figure 1-5. The XML Source task pane in Excel

Figure 1-6. An XML-based worksheet list in Excel
Choose Data → XML → Refresh XML Data. Excel downloads the list of Excel VBA objects from the file.
Click the introduced column heading and select 2003 from the drop-down list. Excel filters the list to display only the new objects ( ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access