Can VBA macros be compiled?

P

Paladin046

Can Excel and/or word VBA macros be compiles to exe files as you can
in true visual basic?
 
H

Harald Staff

Hi

VBA is VB6 using MS Office objects. If you can get hold on a copy of Visual
Studio 6 (it's pretty old) and modify your copy-pasted code so it doesn't
rely on the Office objects (or properly address Office from a standalone
app), then you can create exe files with it.

HTH. Best wishes Harald
 
Top