Developing Office COM Add-in using ATL/C++ needs VBA?

H

Hemilton Chen

Hi,
I am developing an Office COM Add-in using ATL/C++, the only issue that i
have found by now without MS VBA installed is the failure to call Open() API
in Word; i did some testing and found this:

if i install VBA first and import VBE6 library using the following similar
code snippet:
#import "libid:0002E157-0000-0000-C000-000000000046" version("5.3")
lcid("0") rename_namespace("VBE6")
using namespace VBE6;
the Open() API works well; otherwise, it will fail to call such API. but it
seems to me that other Office APIs work well even though VBA is not installed.

Can someone help me answer my questions below:
is it needed for me to install VBA in advance when i am developing an Office
COM Add-in using ATL/C++? if yes, any kb articles related? any other APIs
that need VBA supported?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top