Quickly search an area of a Simul8 spreadsheet and return the location (in column/row coordinates) that exactly matches a text string.
Alternatively a variable or spreadsheet reference can be used.
If the value is not found then column and row are returned as -1. If the value exists in more than one cell in the area only the first location is returned. Simul8 searches each column from the left of the area checking every cell in the left column first, then every cell in the next column etc.
''Match Text in Sheet Area MySheet[1,1],10,10,"Simul8",gblColumn, gblRow''
This example searches for the text string "Simul8" in the spreadsheet area A1:J10 and returns the cell location using gblColumn (global number) and gblRow (global number).