VBA Padlock includes a dedicated development environment — VBA Padlock Studio — for managing your projects, writing protected scripts, configuring licensing, and compiling your VBA code into protected DLLs.
The Studio uses a modern ribbon interface designed to follow the natural workflow of protecting your application.
The primary tab for development where you manage your source code and build your protected project.
Open Office File : Load your Excel, Word, or PowerPoint file to start.
Project Info : Define your DLL metadata (name, version) and unique Security Code .
Script Templates : Access a library of pre-built code patterns.
Compile (F5 ): Transform your VBA script into an encrypted, compiled DLL.
Test Runner (Ctrl+F6 ): Test your compiled functions instantly without opening Excel.
VBA Bridge & Wrapper : Tools to automate the connection between Office and your DLL.
Publish & Distribution : Finalize your build and prepare files for delivery.
Advanced Tools : Password-protect your VBA project or create a full installer.
Configure how users access and activate your software.
Activation Settings : Enable trial periods, hardware locking, or portable mode.
Hardware ID : Choose which components (CPU, HDD, Motherboard) lock the license.
Online Services : Set up automated online activation, deactivation, and validation.
Key Generator : Create license keys manually for your customers.
EULA : Insert a custom legal agreement that users must accept before activation.
VBA Padlock Studio features a built-in editor specifically optimized for writing compiled VBA logic.
VBA-Compatible Syntax : Full highlighting for keywords, strings, and comments.
Modular Design : Organize your code into multiple .bas modules (handled as tabs).
Secure by Default : Your code never leaves the encrypted environment until it’s compiled into the DLL.
Rich Library : Access over 60+ built-in functions directly from your compiled scripts.
When you create a project, VBA Padlock Studio creates a hidden environment alongside your Office file to store your source code and settings.
Workspace Layout
MyWorkbook.xlsm ← Your Office file
MyWorkbook.vbapadlock/ ← Secure Project Folder
├── project.xml ← Project settings (XML)
├── Main.bas ← Your protected VBA logic
├── Helpers.bas ← Additional script modules
└── locale_en-US.json ← Custom UI localized text
Note
The .vbapadlock folder contains plain text files. This makes it easy to use Version Control (Git) to track changes, and also allows AI Coding Agents (like Claude Code, Gemini, or Cursor) to read and modify your VBA logic directly to fix errors or improve compatibility.
Shortcut Action F5 Compile Project Ctrl +F6 Launch Test Runner Ctrl + S Save Current Project Ctrl + N Create New Module Ctrl + O Open Office File
For CI/CD pipelines and automated builds, you can run the Studio headlessly:
VBAPadlock.exe " C:\Path\To\MyFile.xlsm " --compile --silent --log:build.log
Switch Description --compileBuild the project immediately. --silentRun without a GUI (headless mode). --publishBuild for production (disables HotLoading debugging). --logOutput build results to a specific file.
UI Reference
Explore every dialog and setting in detail.
View reference →
Quick Start
Protect your first workbook in under 5 minutes.
Follow the guide →
Compatibility
Check which VBA features are supported in compiled code.
Learn more →