Bad Dll Calling Convention

microsoft excel docs

Could be caused by a lot of different reasons
Function returning more than 250 characters
Broken library reference
Parameter or return type mismatch
A dll wants ByVal but you are passing ByRef


Solution

Export all the code to a folder
Save and close the workbook
Import all your code
Recompile and save


© 2024 Better Solutions Limited. All Rights Reserved. © 2024 Better Solutions Limited TopPrevNext