ActiveSheet Property Example

This example sets the value of the cell in the upper-left corner of the visible range in pane one on the spreadsheet.

Spreadsheet1.ActiveSheet.Panes(1).VisibleRange.Cells(1, 1).Value = "top left"