In the code examples I present I often refer to routine functions. In my framework I have specialized libraries to call from.
In my blog I maintain the similar structure.
Working with HTML Table
Get cell text
Get cell object
Find column by RegEx
Find row by RegEx
Check table exists with defined text in expected cell
Loop through web page in order to find matching table
Load web table data into matrix
Load a range of web table data into matrix