ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Path to a dll as a variable (https://www.excelbanter.com/excel-programming/310955-path-dll-variable.html)

Torben Laursen

Path to a dll as a variable
 
Hi

I need the path to a dll that I call to be a variable so my user can change
it
But code like this will not compile:

Const DLLPath As String = "C:\Code\Program\BaseCalc.dll"
Declare Sub ClearMixture Lib DLLPath ()

Does anyone know how to do this?

Thanks Torben




---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.767 / Virus Database: 514 - Release Date: 21/09/2004




All times are GMT +1. The time now is 02:03 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com