ExcelDriver.OpenWorkbook Method (String)

Opens the specified Excel workbook on the local computer.


Namespace: Microsoft.Hpc.Excel
Assembly: Microsoft.Hpc.Excel (in Microsoft.Hpc.Excel.dll)

'Usage
Dim instance As ExcelDriver
Dim filePath As String

instance.OpenWorkbook(filePath)

public void OpenWorkbook (
	string filePath
)
public void OpenWorkbook (
	String filePath
)
public function OpenWorkbook (
	filePath : String
)

Parameters

filePath

A string that specifies the full path to the Excel workbook that you want to open.

Return Value

None.

This method does not require a previous state. If Excel is not already running on the local machine when you call this method, this method starts Excel.

To open the Excel workbook only if the last saved date matches a specific date and time, use the OpenWorkbook(String,Boolean,String,String,Generic Nullable) or OpenWorkbook(String,Generic Nullable) method instead.

Platform Note: This method is only supported for Windows HPC Server 2008 R2.


Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Development Platforms

Windows XP, Windows Vista, Windows 7, Windows 8, Windows Server 2003, Windows Server 2008, Windows Server 2008 R2, Windows Server 2012

Target Platforms

Windows XP, Windows Vista, Windows 7, Windows 8, Windows Server 2003, Windows Server 2003 R2, Windows Server 2008, Windows Server 2008 R2, Windows Server 2012, with HPC Pack Client Utilities




Build Date:

2013-04-22
Show: