mtheriault2000
Well-known Member
- Joined
- Oct 23, 2008
- Messages
- 826
Hello again
Is it possible to use a function that as been declared in a module directly in a cell
When I'm editing a formula in a cell, I see the function as available, but it give me an "#Value" error
In VBA, the formula work and the appropriate value is captured in a variable
Martin
Is it possible to use a function that as been declared in a module directly in a cell
Code:
Declare Function GV_GetNamedString Lib "C:\Program Files (x86)\TS Support\MultiCharts\GlobalVariable.dll" _
(ByVal strElementLoc As String, ByVal strOther As String) As String
Code:
Formula for cell ("D18") =GV_GetNamedString("DataString"; "Error")
Martin