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: (
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)


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
Dim lst As New List lst.Add 43 lst.ToExcel [Sheet1!A1]
See Also