Executing VBA from C++ 
Author Message
 Executing VBA from C++

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

> 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

Sun, 15 May 2005 12:46:56 GMT  
 [ 1 post ] 

 Relevant Pages 

1. Executing a script from a C++ app

2. Executing a vbscript from a C++ App

3. C++ runtime error when using Command.Execute with a parameter

4. C++ and VBA

5. C++ functions called from VBA

6. VBA - - -> Extended Mapi (C++)

7. Calling VBA dll functions with C or C++

8. Is it possible to use VBA from Borland C++ Builder

9. Executing SQL Server DTS package in VBA code

10. VBA Query Executes Error Too Few Parameters

11. How to execute a oracle function in Access(VBA)

12. Executing MDEs with VBA


Powered by phpBB® Forum Software