carlos_lopez_m 0 Newbie Poster

Hi everyone

I'm having a problem trying to load a VBA program through C#.

I'm creating an application in order to load Excel (so far so good), and I can even paste some information from one of my arrays in a spreadsheet....

My question is, how can I run a VBA (Macro) that I have stored in Excel file using C#??? is there a way to call the VBA program??? So far I used the 2 programs independently but I would like to link them so that it would be easier and better for the final user....

So is there a way to call the file from a specific location and then load the initial Macro? :?:

Thanks, I would really appreciate some help.... :cool:

Carlos

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.