I'll try another approach:

Is it possible to convert C++ code into VBA?