Advertisement

02.08.2008 at 08:47AM PST, ID: 23148270
[x]
Attachment Details

Excel Interop - running a Macro from C#

Asked by Ibs in C# Programming Language

Hi,

I am programmatically accessing an Excel Workbook via C# using the Excel.Interop assembly.

The workbook contains a custom Macro.

Is there a way of programmatically running this Macro?

I've tried:
 Workbook.Run ("MacroName")
But, that requires 30 additional parameters?!

Many Thanks.




Start Free Trial
[+][-]02.08.2008 at 09:50AM PST, ID: 20852356

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zone: C# Programming Language
Sign Up Now!
Solution Provided By: Expert1701
Participating Experts: 1
Solution Grade: A
 
 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628