I have been developing an API-based program using excel VBA because I can make user interface easily in excel worksheets. But the program is getting large and slow.
My program calls millions of API function each run, up to 1 hour. The calling iteration seems to overhead the running time and it cannot utilize parallel processing (CPU usage maxed out at 10%).
The API documentation says it offers "improved speed for external .NET clients that call the API by chaining properties and methods in deeply nested loops".
So I am thinking to migrate my program into VB, because it seems to have most similar syntax with my current VBA codes (minimum change needed) and support .NET.
Is there comparison/summary of VBA vs VB, especially syntax, I can refer to? I have difficulty finding it in google, mostly just comparison of what is VBA and what is VB.
One of things worry me is that I heavily use UDT in my program because it was easier for beginner like me than Class (OOP), but I am starting to regret it.
Also, any thoughts/suggestions of my attempt on migrating from VBA into .NET clients (I still don't know what this means) are very welcome and appreciated. I still don't know much thing outside VBA. Like whether it is good decision, or things I need to care for better future development.
Thank you.
My program calls millions of API function each run, up to 1 hour. The calling iteration seems to overhead the running time and it cannot utilize parallel processing (CPU usage maxed out at 10%).
The API documentation says it offers "improved speed for external .NET clients that call the API by chaining properties and methods in deeply nested loops".
So I am thinking to migrate my program into VB, because it seems to have most similar syntax with my current VBA codes (minimum change needed) and support .NET.
Is there comparison/summary of VBA vs VB, especially syntax, I can refer to? I have difficulty finding it in google, mostly just comparison of what is VBA and what is VB.
One of things worry me is that I heavily use UDT in my program because it was easier for beginner like me than Class (OOP), but I am starting to regret it.
Also, any thoughts/suggestions of my attempt on migrating from VBA into .NET clients (I still don't know what this means) are very welcome and appreciated. I still don't know much thing outside VBA. Like whether it is good decision, or things I need to care for better future development.
Thank you.