+ Reply to Thread
Results 1 to 2 of 2

Thread: Calling C++ from VBA

  1. #1
    Registered User
    Join Date
    11-03-2011
    Location
    london, England
    MS-Off Ver
    Excel 2007
    Posts
    1

    Calling C++ from VBA

    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

  2. #2
    Forum Guru, retired Admin royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    25,640

    Re: Calling C++ from VBA

    Why not use the code as a COM addin?
    Hope that helps.

    RoyUK
    --------
    If you are pleased with a member's answer then use the Star icon to rate it, if you are pleased enough to part with cash consider a donation to Children in Need

    For Excel Tips & Solutions, free examples and tutorials why not check out my downloads

    New members please read & follow the Forum Rules

    Remember to mark your questions Solved and rate the answer(s)

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.2.0