For some years I have been running two ActiveX Excel spreadsheets in VBA simultaneously and have been able to run one spreadsheet as a kind of slave from the other using the "Application.Run" function eg.
Application.Run "OtherWorkbook.xls!Sheet1.RunMacro"
However just recently I have needed to convert the VBA macros to C#/.Net which I know very little about.
Is there a function in C#/.Net whereby I can replicate the Application.Run function? In other words initiate a macro from another worksheet.
Any help would be very much appreciated....
Application.Run "OtherWorkbook.xls!Sheet1.RunMacro"
However just recently I have needed to convert the VBA macros to C#/.Net which I know very little about.
Is there a function in C#/.Net whereby I can replicate the Application.Run function? In other words initiate a macro from another worksheet.
Any help would be very much appreciated....