Two things.
You don't assign macros to control toolbox buttons, they have a click event
associated with them (which of course can call a macro).
On the question, if you mean can use VB code in a VBA macro, in principle
yes, although you may need to make small changes. If you mean call the
procedure in a VB executable, that is more difficult. You could wrap it all
in a DLL, link that DLL to your VBA project, and call it from there.
--
HTH
RP
(remove nothere from the email address if mailing direct)