Good Day,
I have a program that automates excel quite extensively via C# interop automation.
A feature I must build requires that I run a VBA method if it exists in the workbook that part is working fine, however I would like to put a time limit on how long the VBA routine is aloud to run so that I can cleanly cancel the VBA and return control to the main application.
Any assistance anyone may have would be greatly appreciated.