I succeed to create a ATL library in c++ which does some operation and gives back solutions. So I have all the functions in excel by using automation. Now I would like to create a macro which could do all the functions in the right order and after that maybe associating a button to it. So I've written this macro:
Sub Macro_test()
Dim r As Integer
r = setValInput(Range("F21"), Range("G21"))
r = initializeCalculation()
Range("C24") = r
r = getResult("C21")
End Sub
If i build this Excel says the function setValInput isn't definite. The class of ATL is named OPclass, maybe have I to do something with this?