LockXLS On-line Help Library

Welcome
Getting Started
Using LockXLS
How to ...
General Questions
Questions about LockXLS activation
Advanced Questions
LockXLS Runtime Menu
Samples
About LockXLS
Purchase
Contact
LockXLS Runtime Object members.

LockXLS Runtime Object members.

This topic describes methods of the LockXLS Runtime object, which you can use in VBA macro.

ActivateWorkbook( Password )
Allows file to be opened by external application without showing Password Request dialog. More ...
EnableODBCAccess( IsEnabled )
Allow to open locked files using ODBC driver in the external application. More ...
EnablePrinting( Workbook Object, IsEnabled )
Enable\disable printing for passed workbook object. This method allows you to control whether printing should be enabled for a locked workbook. More ...
ExportCellsByColor( Workbook Object, ColorIndex, FilePath )
Export input cells with a specific background color index into text file. More ...
GetActivationInfo( Workbook Object, Option )
Returns different information about how this workbook was protected: working period, usage period, was file registered, etc. More ...
GetApplicationPath( Workbook Object )
Returns folder of the locked application/workbook. For unlocked workbook returns it's folder. More ...
GetComputerCode()
Returns Computer Code of the PC, where this VBA code is running. More ...
GetHelpFilePath( File Name )
Returns path to help file extracted from application on customer's PC. More ...
IsWorkbookActivated( Workbook Object )
Returns TRUE if passed workbook was successfully activated on this PC. More ...
IsWorkbookLocked( Workbook Object )
Returns TRUE if passed workbook is locked. More ...
LockDataOnHiddenSheets()
Clears Unlock Code passed in UnlockDataOnHiddenSheets method. More ...
LockObjectModel()
Clears Unlock Code specified by UnlockObjectModel method. More ...
LockSaveAs()
Used after UnlockSaveAs method to clear Unlock Code.More ...
RunCommand( Command )
Calls LockXLS menu command. Use this method to Enter Activation Code, request expiration timeout of workbook, ... More ...
ShowHelpFile( File Name, (optional)Topic Name )
Shows Help file attached to application. If Topic Name is passed - this topic is shown. More ...
UnlockDataOnHiddenSheets( UnlockCode )
Enters Unlock Code to make data on hidden sheets accessible to other workbooks\external applications. More ...
UnlockObjectModel( UnlockCode )
Enters UnlockCode to make Object Model of locked workbook accessible from external applications. More ...
UnlockSaveAs( UnlockCode )
Enters Unlock Code for a SaveAs command. Used to save locked file as usual unlocked workbook. More ...
UnlockWorkbook( Workbook Object )
Makes workbook unlocked. Use this method to extract data from a workbook and save it as unlocked file. More ...