ListToExcel Method
Copies the values to Excel. The target can be an address, a worksheet or a range.

Namespace: Selenium
Assembly: Selenium (in Selenium.dll) Version: 2.0.9.0 (2.0.9.0)
Syntax
VB Usage
Dim instance As List
Dim target As Object
Dim title As String
Dim clearFirst As Boolean
Dim returnValue As IRange

returnValue = instance.ToExcel(target, 
	title, clearFirst)

Parameters

target (Optional)
Type: SystemObject
Excel address, worksheet, range or null to create a new sheet.
title (Optional)
Type: SystemString
Optional - Adds a title
clearFirst (Optional)
Type: SystemBoolean
Optional - If true, clears the cells first

Return Value

Type: IRange
Range
Examples
Dim lst As New List lst.Add 43 lst.ToExcel [Sheet1!A1]
See Also