When you install the “Office/SharePoint Development” workload in Visual Studio 2022, the VBA Core Extensibility libraries are placed in:

Run .vbs or .vba files from the command line without opening Excel or Word. For example: