Civil LAB - Excel
  • What is CIVIL LAB Excel?
  • Introduction
    • How to use ? Installation
    • Introduction of the modules
    • Copy right agreement
  • Documentation
    • Ribbon Tools
      • Formatting tools
        • Color It
        • Advanced Formatting
        • Auto Units
        • Group color
      • Utilization Tools
        • Pro copy
        • Level Sum
      • EuroCode Tools
        • Eurocode 4
        • Eurocode 3
        • Eurocode 2
          • Creep Coefficient
        • Eurocode 0 & 1
      • Database tools
        • Engineer Database
        • Group to index
        • Index to group
    • Built-in functions
      • General Functions
        • CL_G_TabelInterpolation
        • CL_G_CreateListTablePicker
        • CL_G_ListTableFind
        • CL_G_Table_find
        • CL_G_VlookupTable
      • Database Function
      • Eurocode function
      • Mechanical functions
        • CL_M_Rebars_A
        • CL_M_Recdata
        • CL_M_HProfileData
        • CL_M_Zel
    • Ready made Excel
      • Parametric tool : input output
      • Composite beam stiffness
    • Excel-Python
  • Contacts and development
    • For Programmers
      • Civil LAB framework
      • Resources
      • Naming Rules
      • Guides to Function Modules
      • Guides to Data Tables
      • Guides to Ribbons
    • For Engineers
      • What is possible?
    • For Supporter
      • Donation / contribution
    • Contact infomation
  • 💾Downloads
  • Road map
    • Road Map
Powered by GitBook
On this page
  • 1) How to add functions
  • 1) “ExcelDNA” – add dynamic function guides
  1. Contacts and development
  2. For Programmers

Guides to Function Modules

PreviousNaming RulesNextGuides to Data Tables

Last updated 3 years ago

The function modules are stored inside the files with “CL_xxx” for different categories

In order to improve the stability of the code, the “Option Explicit” is used, which means all the parameters must be defined first before use.

Among the Modules, the “CL_Ribbon_controls”, “CL_SYSTEM”, “CL_SYSTEM_SUPPORT” are only for system purpose (private module, thus hidden from user)

1) How to add functions

You can open any of the module document or create your own ones as well to add the functions. It is suggested to add clear comment for the functions. (well, seems I did not do a good example, but you can😊)

1) “ExcelDNA” – add dynamic function guides

Excel cannot natively show the dynamic functions guides, thus we use a third-part add-in called “EXCELDNA” to do the job. (thus you will see two files “ExcelDna.IntelliSense.xll” and “ExcelDna.IntelliSense64.xll” along with the Main excel when you download it. There is also way to merge the ExcelDNA into the main excel, however will perhaps we will do so for the next build.) In the main excel there is a hidden spreadsheet named “_IntelliSense_” which defines all the function guides.

A guide for Excel DNA

For VBA and C# based functions.

GitHub - Excel-DNA/IntelliSense: Add in-sheet IntelliSense for Excel UDFs
Getting Started · Excel-DNA/IntelliSense Wiki · GitHub