Performs any necessary global cleanup tasks or post-calculation processing after the calculations for an Excel workbook complete on an HPC cluster.
This method has no parameters.
This method does not return a value.
You optionally 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 for an Excel workbook on an HPC cluster, the client library calls this macro last, after the library calls all of the other macros.
Implement this macro to perform post-calculation processing and cleanup tasks, such as turning the display of updates to the workbook back on and closing external resources (such as log files or database connections).
For example implementations of the HPC_Finalize macro, see the following resources:
Accelerating Excel 2010 with Windows HPC Server 2008 R2: Building VBA applications and workbooks for a Windows HPC Cluster (http://go.microsoft.com/fwlink/p/?linkid=205876)
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 (http://go.microsoft.com/fwlink/p/?linkid=205875)
HPC Pack 2008 R2 Client Utilities