← Back to context

Comment by password4321

2 days ago

VBA is permanently disabled in most large corporate and government environments these days as a security precaution.

Interesting to see this HN user on a campaign to promote a boutique new language running on top of VBA which seems like a dead end.

20251227 https://news.ycombinator.com/item?id=46403704 Hacking VBA to support native scripting runtime with no COM dependencies

>VBA is permanently disabled in most large corporate and government environments these days as a security precaution.

This is exactly the argument used for deprecating a so powerful language, but It's all a Microsoft marketing strategy. Organizations creating and running only their workbooks are equally enforced to shutting down VBA, Why? Because VBA doesn't pay Microsoft rent.

I'll counter argue that "large corporates" are exactly the environment with a massive legacy of VBA based Excel spreadsheets stapled together handling half the businesses most critical functions.

Document-embedded VBA macros are disabled, but not VBA in general.

  • Pardon my ignorance, but how do I use VBA when F11 to get to the editor is disabled?

    In my limited experience PowerShell is less restricted.

    • They may block you from developing VBA, but that doesn't mean that stuff in %APPDATA%\Microsoft\Templates and other trusted locations won't get executed.