Access a DLL file without having it installed

iamito

New Member
Joined
Sep 18, 2007
Messages
16
Hi

I have a worksheet that uses a dll file which is installed in the Excel library and I want to change the VBA code that uses the dll file so that instead of looking up the DLL file in the excel library, it looks it up on the worksheet's folder.

Can this be done?
Note that I didn't write the VBA code on this sheet. The code is the following:
Private Declare Function VectorModel Lib "Vector.dll" (...)

Isn't it possible to do something like:
Private Declare Function VectorModel Lib "c:\Vector.dll" (...) ?

thanks in advance for your help
 

Excel Facts

Convert text numbers to real numbers
Select a column containing text numbers. Press Alt+D E F to quickly convert text to numbers. Faster than "Convert to Number"

Forum statistics

Threads
1,225,364
Messages
6,184,533
Members
453,239
Latest member
dbenthu

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top