XL.Sheet.GetTopLeftView
-----------------------

Extracts the first visible row and the leftmost visible column of the sheet.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [XL](component_XL.md) | [3.5](newinversion35.md) | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |

MBS( "XL.Sheet.GetTopLeftView"; BookRef; SheetIndex; Selector ) 

**MBS**( **"XL.Sheet.GetTopLeftView";** /\* Extracts the first visible row and the leftmost visible column of the sheet. \*/  
**$BookRef**; /\* The reference number for the workbook.e.g. $ref \*/   
**$SheetIndex**; /\* The index of the sheet. This number ranges from 0 to [XL.Book.SheetCount](XLBookSheetCount.md)-1.e.g. 0 \*/   
**$Selector**) /\* Which value to return. Can be "row" or "column".e.g. "row" \*/ 

### Parameters

| Parameter | Description | Example |
|---|---|---|
| BookRef | The reference number for the workbook. | $ref |
| SheetIndex | The index of the sheet. This number ranges from 0 to [XL.Book.SheetCount](XLBookSheetCount.md)-1. | 0 |
| Selector | Which value to return. Can be "row" or "column". | "row" |

### Result

Returns value or error.

### Description

Extracts the first visible row and the leftmost visible column of the sheet.  
### See also

- [XL.Book.SheetCount](XLBookSheetCount.md)
- [XL.Sheet.SetTopLeftView](XLSheetSetTopLeftView.md)

This function checks for a license.

Created 18th August 2014 , last changed 18th August 2014

  
[XL.Sheet.GetText](XLSheetGetText.md) - [XL.Sheet.GetVCenter](XLSheetGetVCenter.md)

[HTML Version](XLSheetGetTopLeftView.shtml)