Feb 9, 2009 #1 chilly442 Technical User Jun 25, 2008 151 US Is it possible to build a custom library (.dll) for Excel? If so can someone point me in the right direction? Thanks, chilly442
Is it possible to build a custom library (.dll) for Excel? If so can someone point me in the right direction? Thanks, chilly442
Feb 9, 2009 1 #2 fumei Technical User Oct 23, 2002 9,349 CA Yes. VB (not VBA) can make DLL files. Gerry Upvote 0 Downvote
Feb 9, 2009 Thread starter #3 chilly442 Technical User Jun 25, 2008 151 US So build it in VB and then use it in VBA? Do you have an example or a site that I can use as a reference/How to? Thanks, Chilly442 Upvote 0 Downvote
So build it in VB and then use it in VBA? Do you have an example or a site that I can use as a reference/How to? Thanks, Chilly442
Feb 24, 2009 #4 fumei Technical User Oct 23, 2002 9,349 CA You build the DLL in VB (make it a DLL project). Compile it. Register it using Regsvr32. Once registered, you can use it by adding a reference to it in VBA. "Do you have an example or a site that I can use as a reference/How to?" Try googling. BTW: other programming languages can build DLL files, not just VB. Gerry Upvote 0 Downvote
You build the DLL in VB (make it a DLL project). Compile it. Register it using Regsvr32. Once registered, you can use it by adding a reference to it in VBA. "Do you have an example or a site that I can use as a reference/How to?" Try googling. BTW: other programming languages can build DLL files, not just VB. Gerry