English | Русский
Powerful Excel VBA Add-in for Developers
Author: VBATools
Version: 2.0.38
License: Apache License
Important
Password for the VBA project
MACROTools is a professional Excel VBA Add-in that provides an extensive set of tools for VBA project development, analysis, refactoring, and protection.
The add-in integrates into the Visual Basic Editor (VBE) environment via Ribbon UI and context menus, offering 50+ tools for working with VBA code.
- Smart Indenter — automatic indentation formatting
DimFormatting — merge/split declarations- Remove Comments — clean code from comments
- Remove Empty Lines — delete double empty lines
- Remove Line Continuations — remove
_line continuations - Swap
=— swap left and right sides of assignments - Line Numbers — add/remove line numbers in procedures
- Debug.Print ON/OFF — mass enable/disable debug output
- Module Statistics — procedure count, line count, types
- UserForm Statistics — form controls analysis
- Declaration Statistics — variables, constants, types
- Procedure Statistics — parameters, modifiers, types
- Shape Statistics — macros bound to shapes
- Unused Variables Search — dead code detection
- Unused Modules Search — unused forms and classes
- VBA Password Removal — bypass VBA project protection
- Unviewable Protection — set/remove "Unviewable VBA Project" protection
- Hide Modules — hide modules from VBE project window
- Remove Sheet/Workbook Passwords — remove protection via XML
- VBA Obfuscation — rename variables, procedures, modules
Obfuscation instructions
- Unpack Office Files — view internal structure (.xlsx, .xlsm, .xlsb)
- Pack Office Files — rebuild archive
- View Archive Files — list all files inside archive
- File Properties — view/edit built-in and custom document properties
- Dark VBE Theme — switch to dark theme
- Light VBE Theme — switch to light theme
- Indent Settings — formatting configuration
- Comment Settings — comment templates
- String Literal Parsing — extract strings from code, UserForm, Ribbon UI
- Literal Renaming — batch replace string values
- Character Monitor — analyze used characters
- MsgBox Constructor — visual MsgBox generator
- Formatting Constructor — format string generator
- Procedure Constructor — procedure declaration generator
- TODO List — task management in code
- Code Snippets — ready-made solutions library
- Regex Tester — RegExp debugging
- Remove External Links — find and remove external references
- Toggle A1/R1C1 — Excel reference style
- Add-in Manager — manage Excel Add-ins
- Hotkeys — hotkey reference
Addin_MacroTools_2.0/
├── vba-files/ # VBA source code
│ ├── Class/ # Class modules (7 files)
│ │ ├── clsAnchors.cls # UserForm anchors
│ │ ├── clsLogging.cls # CSV logging
│ │ ├── clsObfuscator.cls # VBA code obfuscation
│ │ ├── clsOfficeArchiveManager.cls # Office archive manager
│ │ ├── clsSort2DArray.cls # 2D array sorting
│ │ ├── clsToolsVBACodeStatistics.cls # VBA code statistics
│ │ └── clsVBECommandHandler.cls # VBE command handler
│ ├── Form/ # UserForms (dialog windows)
│ └── Module/ # Standard modules (47 files)
│ ├── modAddin*.bas # Add-in core (constants, menus, Ribbon, themes)
│ ├── modFile*.bas # File operations (passwords, archives, properties)
│ ├── modLiterals*.bas # String literal parsing and replacement
│ ├── modTools*.bas # VBA code tools
│ └── modUFControls*.bas # UserForm controls management
├── docs/ # Documentation
│ ├── MODULES_REFERENCE.md # Module reference (RU)
│ └── MODULES_REFERENCE_ENG.md # Module reference (EN)
├── Addin_MacroTools_v2.0.38_ENG.xlsb # Compiled add-in
├── README.md # Documentation (RU)
├── README_ENG.md # Documentation (EN)
└── LICENSE # Apache 2.0 License
- Copy
Addin_MacroTools_v2.0.38_ENG.xlsb - Open Excel → Click Install button
- Access to VBA object model: File → Options → Trust Center → Macro Settings → ✅ Trust access to VBA project object model
| Combination | Action |
|---|---|
Ctrl+Shift+H |
Hotkeys reference |
Alt+F11 |
Open VBE |
Full list of hotkeys available via Tools → Hotkeys menu
The Repository Hotkeys
- MODULES_REFERENCE.md — Complete reference of all modules with procedure descriptions
| Module | Description |
|---|---|
modAddinConst |
Add-in constants |
modAddinCreateMenu |
VBE context menu creation |
modAddinPubFun |
Public functions (general) |
modAddinPubFunVBE |
Public VBE functions |
modAddinPubFunVBEModule |
VBE module operations |
modAddinRibbonCallbacks |
Ribbon callback functions |
modAddinThemeVBE |
VBE themes |
modAddinInstall |
Add-in installation |
| Class | Description |
|---|---|
clsObfuscator |
VBA project obfuscator |
clsOfficeArchiveManager |
Office archive manager |
clsToolsVBACodeStatistics |
VBA code statistics |
clsLogging |
CSV logger |
clsAnchors |
UserForm anchors |
clsSort2DArray |
2D array sorting |
- Some functions (password removal, obfuscation) use API hooks and binary file modification
- VBA protection bypass functions are intended for restoring access to your own projects
- Use at your own risk
- Trusted access to VBA object model is required for proper operation
- Check:
VBAIsTrusted()inmodAddinPubFunVBEmodule
Logs are written to ...\AppData\Roaming\Microsoft\AddIns folder:
MACROTools_logs.csv— Excel import log
The clsLogging class is used to manage logging.
Apache License
VBATools
v2.0.38
If you encounter issues:
- Check log files at
...\AppData\Roaming\Microsoft\AddIns\MACROTools_logs.csv - Ensure VBA access is enabled
- Restart Excel and verify add-in activation
- Git integration
- Automated testing
- API documentation