I have copied this VBA-Code from the User Guide:
Public Function SaveSecureWorkbookToFile(Filename As String)
Set XLSPadlock = Application.COMAddIns(“GXLS.GXLSPLock”).Object
SaveSecureWorkbookToFile = XLSPadlock.SaveWorkbook(Filename)
End Function
I have tried to use this function but in the line
"Set XLSPadlock = Application.COMAddIns(“GXLS.GXLSPLock”).Object"
it appears the runtime error:
Laufzeitfehler 9
Index außerhalb des gültigen Bereichs
Please let me know how this error can be resolved.
with best regards
Public Function SaveSecureWorkbookToFile(Filename As String)
Set XLSPadlock = Application.COMAddIns(“GXLS.GXLSPLock”).Object
SaveSecureWorkbookToFile = XLSPadlock.SaveWorkbook(Filename)
End Function
I have tried to use this function but in the line
"Set XLSPadlock = Application.COMAddIns(“GXLS.GXLSPLock”).Object"
it appears the runtime error:
Laufzeitfehler 9
Index außerhalb des gültigen Bereichs
Please let me know how this error can be resolved.
with best regards
Last edited: