RE: Invoke VBA functions



No one has replied my question.

"Tspwi" wrote:

> I was wondering if you ever received any response to this post, maybe in a
> different forum or something or got it working. I would like to do the exact
> same thing.
>
> I created code to do call my MSA VBA function from a VB application
> successfully and I would like to call the same function from a VC++ 6
> project.
>
> I've tried to
> #import "MSACC.OLB"
> but just the import statement produces errors for missing interfaces. I
> started tracking them down but it eventually lead me to
> #import "VBE6EXT.OLB"
> which started to look like I was trying to pull all of VB in or something
> and didn't work.
>
> I keep thinking there must be a way to do this but just can't seem to get
> the pieces put together correctly.
>
> Thanks,
> Troy
>
> "Charles Tam" wrote:
>
> > I would like to invoke VBA functions hosted in MS Access (MDE) from a VC++ 6
> > MFC application. Is it possible? If so, how should I go about it? If not,
> > what are my alternatives?
.