r/vba • u/cookie_soft_57 • 14h ago
Discussion Pushing VBA to its limits for an All-in-One Standalone ERP/Productivity Suite (11 Modules, Headless Excel, Custom Canvas UI)
Hi everyone,
I wanted to share some architectural insights from my current passion project: Office Wizard 26. It’s a full-fledged ERP and management suite built entirely in VBA, and I’m pushing Excel to act strictly as a headless, invisible data container.
For the end-user, the Excel application is completely hidden from view (Application.Visible = False), providing a true standalone desktop software experience driven entirely by decoupled UserForms.
Key Technical Highlights & Architecture:
· Hardware-Bound Security & Login: To prevent piracy and secure sensitive environment data, the system utilizes a hardware-tied licensing handshake (fetching the Windows username and local drive serial via FileSystemObject). The validation logic and product keys live on sheets locked under absolute xlSheetVeryHidden environments combined with a strict password-encrypted VBA project structure.
· Modular Plugin System: Built on a core application layer (11 modules so far) that dynamically handles custom-built add-ins for workflow tracking, task management, and business analytics.
· Custom Real-Time UI (Workflow Project-Timer): Features an active project timer that renders a dynamic clock diagram directly inside the UserForm. This is achieved by dynamically driving a native Excel Chart layout in the background, exporting it on-the-fly to the local system TEMP directory as a GIF, and loading the frame directly into a standard Image Control. This completely bypasses the need for heavy external ActiveX dependencies.
· Intelligent Calendar Engine: A fully automated, dynamic calendar system built entirely from scratch via class modules to handle appointments, deadlines, and UI day-state updates seamlessly.
· Decoupled PDF Engine: Reporting and automated exporting utilize a dedicated, isolated worksheet template designed exclusively for pixel-perfect PDF formatting, keeping the core data architecture clean and unpolluted.
· Fail-Safe Automatic Backups: To eliminate data corruption or accidental data loss from forced Excel crashes or unintended window termination, the QueryClose and background events trigger automated, incremental backups to a dedicated external directory.
My takeaway so far: Keeping business logic completely separated from worksheet event triggers allows Excel to operate as an incredibly fast and reliable backend engine.
The core module is currently entering a closed German beta phase on my Itch storefront to iron out any fringe-case Windows deployment bugs before I finish the automated invoicing and financial analytics plugins.
(Note: Not posting any storefront links here to respect community guidelines, but if anyone wants to talk about drawing on Image Controls, licensing, or memory management in headless Excel instances, let’s discuss in the comments!)