ExcelDriver.OpenWorkbook Method

Definition

Overloads

OpenWorkbook(String)

Opens the specified Excel workbook on the local computer.

OpenWorkbook(String, Nullable<DateTime>)

Opens the specified Excel workbook on the local computer if the date that the workbook was last saved matches the specified date.

OpenWorkbook(String, Boolean, String, String, Nullable<DateTime>)

Opens the specified Excel workbook on the local computer if the date that the workbook was last saved matches the specified date, using the specified passwords if the workbook is protected or write-reserved.

OpenWorkbook(String)

Opens the specified Excel workbook on the local computer.

public void OpenWorkbook (string filePath);
member this.OpenWorkbook : string -> unit
Public Sub OpenWorkbook (filePath As String)

Parameters

filePath
String

Applies to

OpenWorkbook(String, Nullable<DateTime>)

Opens the specified Excel workbook on the local computer if the date that the workbook was last saved matches the specified date.

public void OpenWorkbook (string filePath, Nullable<DateTime> lastSaveDate);
member this.OpenWorkbook : string * Nullable<DateTime> -> unit
Public Sub OpenWorkbook (filePath As String, lastSaveDate As Nullable(Of DateTime))

Parameters

filePath
String
lastSaveDate
Nullable<DateTime>

Applies to

OpenWorkbook(String, Boolean, String, String, Nullable<DateTime>)

Opens the specified Excel workbook on the local computer if the date that the workbook was last saved matches the specified date, using the specified passwords if the workbook is protected or write-reserved.

public void OpenWorkbook (string filePath, bool updateLinks, string password, string writeResPassword, Nullable<DateTime> lastSaveDate);
member this.OpenWorkbook : string * bool * string * string * Nullable<DateTime> -> unit
Public Sub OpenWorkbook (filePath As String, updateLinks As Boolean, password As String, writeResPassword As String, lastSaveDate As Nullable(Of DateTime))

Parameters

filePath
String
updateLinks
Boolean
password
String
writeResPassword
String
lastSaveDate
Nullable<DateTime>

Applies to