I need to add new functionality to vba in access. I already tried a lot of tutorials: http://www.office-loesung.de/ftopic268792_0_0_asc.php (german) and http://www.codeproject.com/Articles/555660/Extend-your-VBA-code-with-Csharp-VB-NET-or-Cpluspl (cant post more cause of rep)
but none of them works for me. The customer has office 2013 and i am using .net 4.5.
We want to provide the customer a rest api which is already written in c#/.net and which needs some encryption dlls of the .net world.
I tried to create an dll with "Interop COM" switch on and could add a reference of the dll to my VBA test Sheet BUT neither objects nor static test functions have been working. There even is no intelisense in VBA. A restart of the program did not solve the problem either. (though somehting went wrong before)
The error message i retrieve is "Runtime Error 429 - ActiveX Component Can't Create Object" (for my own code as well as for the code from codeplex (with all modules, C#, VBA, C++/Cli))
Is there any other way to go, adding new functionality to VBA / extending it with own functions?