First of all: if you want to create a VBE add-in, I would recommend a COM add-in for this. This can then be loaded directly when the VBA editor is opened. To create a COM add-in, you could use twinBasic, for example. Of course you can also create this with .net (VB.net, or C#).
You can create an Access add-in in the same way as an Access application.
The difference between CurrentDb and CodeDb as well as between CurrentProject and CodeProject is revelant in an Access add-in (Current* => access to the application, Code* = access to the “file” in which the code is executed - i.e. to the add-in).
There are a few videos about add-ins at https://www.youtube.com/@AccessUserGroups
You can create an Access add-in in the same way as an Access application.
The difference between CurrentDb and CodeDb as well as between CurrentProject and CodeProject is revelant in an Access add-in (Current* => access to the application, Code* = access to the “file” in which the code is executed - i.e. to the add-in).
There are a few videos about add-ins at https://www.youtube.com/@AccessUserGroups