HPC_GetVersion method
Gets the version of the macro framework that the Excel workbook uses to run calculations on an HPC cluster.
Syntax
Function HPC_GetVersion() As String
Parameters
This method has no parameters.
Return value
A string with a format of major_version_number.minor_version_number that indicates the version of the macro framework that the Excel workbook uses to run calculations on an HPC cluster. For Windows HPC Server 2008 R2, this value should always be 1.0.
Remarks
You implement this macro for an Excel workbook for which you want to run calculations on an HPC cluster as part of the partition, calculate, and merge macro framework.
When you run a calculation in an Excel workbook on an HPC cluster, the client library calls this macro first, before the library calls the HPC_Initialize macro.
Examples
For an example implementation of the HPC_GetVersion macro, see the macros in the VBASample.xlsm workbook that is included in the Excel\ExcelRunner folder in the sample code package for the Windows HPC Pack 2008 R2 SDK (https://go.microsoft.com/fwlink/p/?linkid=205875).
Requirements
Product |
HPC Pack 2008 R2 Client Utilities |