Return to LaurenceHolbrook.com Technical Information Index

VBScript - Document Object Model - collecting values from an HTML table

This script displays the individual cells from the table below -

When the Show Cell button is clicked, each the contents of each cell is displayed in a message box -

An array of the table's values could easily be established for writing CSV files, populating Excel, etc

Row One - Cell One Row One - Cell Two
Row Two - Cell One Row Two - Cell Two
Row Three - Cell One Row Three - Cell Two
Row Four - Cell One Row Four - Cell Two