Firstly a slight correct to my previous reply:
"VBA project can only be unloaded with Visal Basic Extensibility, as @Ed.Jobe pointed out."
Should have been:
"Referenced VBA project can only be unloaded with Visal Basic Extensibility, as @Ed.Jobe pointed out."
Now I see what you want to do: since in your menu item, you have LISP function to start a VBA Macro, something like:
(Command "VBALOAD" "[path/fileName.dvb]")
(Command "VBARUN" "....")
The problem is the "VBALOAD": if the project has already loaded, AutoCAD pops a message box, which is really annoying and Autodesk should have surpress it, or at least provides a system as option to show or hide it. Just for avoiding this, you have to take all the pains to unload all VBA projects right before calling another VBA macro, whether it is already loaded and readily available or not. Also, to do this for every VBA projects of yours, you need to have that "UnloadDVBs()" available, in order to to the unloading.
There is an very simple approach to avoid the annoying "... already loaded" message, which is to use VLisp statement
(vl-vbarun "fineName.dvb!modulename.macroname)
this VLisp statement will run the macro in specified modle from specified DVB file; more importantly, it would load the DVB file automatically, if it had not been loaded; you can supply a file path, but if not supplied, it would automatically search the drawing's current folder and all support paths. I have been using this to load VBA for years, simple and easy...You need to make sure the DVB files are located in "trusted" folders.
Since AutoCAD 2016, there is report on (vl-vbarun ...) stops working in a very subtl way: instead of loading the VBA project and running specified macro, the statement simply returns "T" and does nothing else. This is not easily reproduceable: with exactly the same computer setup, it can happen with one computer, but not the other. It occurred in my office, firstly only on a few computers (Acad2018), and gradually, more. Fortunately, we have stopped using most VBA, and load the 1 or 2 remaining VBA project on AutoCAD startup.
But you should still try to use (vl-vbarun...) as your menu item's code to start a macro, to avoid the "... loaded" message popup.