Suppose we have spreadsheet data like this:

The data is attached to an RVL Range Map named Users:

Accessing Map Values

There are several methods you can use to retrieve values from the map.

1. Using Map.GetCell(col, row)

You can treat a Map object just like any other object in RVL and call its methods.

In this example, Users.GetCell(2,3) reads the value Johnson and assigns it to the variable LastResult.
You may assign the value to any variable instead of LastResult if needed.

2. Moving to a Specific Row

Another approach is to position the map on a given row using Users.DoMoveToRow(row) and then access a cell normally:

This example retrieves the value Smith.

3. Using an Expression

You can also insert Users.GetCell(...) directly into a ParamValue expression:

 

Here the expression returns Davis.


Each of these techniques allows you to extract data from a Map depending on your scenario—direct cell access, row navigation, or inline expressions. Working example is available for download.