Calling C++ from VBA

VB , VBA , Cpp Edinburgh, United Kingdom
  • 8 years ago

    Hello everyone,

    I would like to call a C++ function from VBA. I've been reading about DLLs and exporting C++ code but I haven't got anywhere. I'm using Microsoft Visual Studio environment.

    Does anyone know how to do this? Or, what are the basic steps to achieve this? Or redirect me to an example?

    Many thanks

Post a reply

No one has replied yet! Why not be the first?

Sign in or Join us (it's free).


Why not write for us? Or you could submit an event or a user group in your area. Alternatively just tell us what you think!

Our tools

We've got automatic conversion tools to convert C# to VB.NET, VB.NET to C#. Also you can compress javascript and compress css and generate sql connection strings.

“A computer is a stupid machine with the ability to do incredibly smart things, while computer programmers are smart people with the ability to do incredibly stupid things. They are, in short, a perfect match” - Bill Bryson