Using Logicim XLGL in a VBA macro
Visual Basic for Applications VBA
In visual basic for applications (VBA), you can call any Logicim XLGL worksheet function and a number of useful Logicim XLGL macros by using the Application.Run
Excel command.
For example, you can get the balance of account 4010 using the Logicim XGL worksheet function:
Ensure to supply all parameters in the order specified in the documentation of each function. Empty arguments can be an empty string. For example, to get the total amount of all transactions in account 4010-0300, where 0300 is the department, you would use:
Predefined macros
Utilize the following commands to achieve actions normally done using the Logicim XLGL Ribbon:
- Open the connection panel (to actually open a connection, use the XConnect worksheet function)
- Open the report panel
- Refresh the workbook
- Recalculate the workbook
- Freeze the active workbook
- To prevent a confirmation message from being displayed, use
- Freeze the active worksheet
- To prevent a confirmation message from being displayed, use
- Freeze the selected cell range
- To prevent a confirmation message from being displayed, use
- Open the drill-down window for the selected range
- Hide rows and columns containing only zeros
- Hide rows containing only zeros
- Hide columns containing only zeros
- Unhide rows and columns
- Unhide rows
- Unhide columns
- Prepare print layout for active worksheet
- Create a copy of the active worksheet
- Switch language
Edited: Monday, January 13, 2025
Was this article helpful?
Thank you! Your feedback matters.
Related articles
No related articles found
You can Contact us so we can address your question.