Context: |
Class Method (Procedure) |
Library/Class: |
StaticVars Class |
Sub StaticVars.SetXlsApplOptions
StaticVars.SetXlsApplOptions (XlsAppl As Variant, XlsWBook As Variant, fstcall As Integer)
Integra requires the below listed Excel environment variables (options) to be set in a particular way. This method set and re-sets the variables according to the given parameter value.
XlsWBook.EnableAutoRecover = False
Parameters:
XlsAppl (Variant)
Handle to the Excel COM Application object (as stored in stats.XlsAppl)
XlsWBook (Variant)
Handle to the Excel COM Workbook object (as stored in stats.XlsWBook)
fstcall (Integer)
If fstcall (first call) is True then all Excel environment variables set by this method are cached and then set as required, otherwise they are set back to their original value.
|