Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Linking to other VB apps
Sullivan,
While I'm not an expert at this, I have gotten it to work on one application. First, compile your VB 6.0 application as a DLL. Next, reference this DLL from your VBA using Tools\References\Browse. To call functions within VBA, use functions as follows: Dim MyObj As Object Dim result As Double 'Create object. Set port_str = CreateObject("MyReference.MyClass") result = port_str.MyFunction(parameters_passed) Give this setup a try and see if you have any luck. Steve -----Original Message----- Hey all I'm working on a project that will require me to link to an application that was created in standard VB 6.0 (NOT VBA) while in VBA. Is this possible? And if it is, can you let me know how it's done???? Thanks in advance Sullivan . |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Excel 2010 to be able to embed like Google Apps? | Excel Worksheet Functions | |||
Inability to open and run office apps. | Excel Discussion (Misc queries) | |||
Help - Alt-E hotkey does not work in MSOffice apps, no prob in other apps | Excel Discussion (Misc queries) | |||
Adobe Acrobat isn't available in office apps! | Excel Discussion (Misc queries) | |||
Office Apps accessing the Internet | Excel Discussion (Misc queries) |