How to pass parametre to Macro Excel c#

Hi,

This is a simple one…

Need to pass a parametre to Macro Excel …

Solution is already here:

But i am using c#, should be a syntax problem.

Please help ! Thanks in advance.

Hey @javierdavidh ,

You have to give the params as like below screenshot.
image

Thanks,
Sanjit

Sorry it does not work… Got the same error:

Hi @javierdavidh ,

Can you please pass the parameter as below and let us know,
new object[] {variable1}

Hope this helps you :star2:

7 Likes

Thanks !!!

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.