Documentation for RCHGetWebData() function


Description

Extracts source data from a web page. The primary purpose of this function is for testing, to examine the web page data being returned to VBA for processing. However, it can also be used for ad hoc extractions of data from a web page that isn't table oriented.

Syntax

    =RCHGetWebData( URL, [Position], [Length], [Offset] )

Parameters

    
URL = Web page to retrieve source data to extract from.

Position = An optional parameter that has a default value of 1, indicating either:
  1. A number indicating an absolute position on the page to begin the extraction of data
  2. A string to search for on the page to indicate a relative position on the page to begin the extraction of data
Length = An optional parameter that has a default value of 32767 (the maximum possible value), indicating the length of the data to extract from the web page.

Offset = An optional parameter that has a default value of 0, indicating the relative position to offset from parameter "Position" for extraction of data from the web page.

Examples Usage notes