You can't execute
VBA in C++, but you could use COM Automation to control an
Access database/application to run the VBA or a macro. I don't do C++, so
can't give details of _how_, but suppose it would be almost identical to
doing the same thing from VB, since you are working with the object model.
--
Larry Linson http://www.*-*-*.com/ -- North Texas PC User Group
http://www.*-*-*.com/
http://www.*-*-*.com/
http://www.*-*-*.com/
Quote:
> Hello
> I have a C++ program that uses DAO to interact with an
> Access database. I would like to either execute some VBA
> code from C++ or be able to call a macro in my database
> from C++. Any suggestions?
> Jeremy