This project has moved and is read-only. For the latest updates, please go here.

How to open file in Run-Time

Oct 17, 2012 at 9:10 AM

Hi,
I open my existing file, changing and save him. But I don't know how after all changes open him in MSOffice through C#-code?

Thanks,

Vera

Oct 18, 2012 at 1:47 PM

I never tried, but you can call Microsoft Excel passing your xlsx file as parameter, probably will work.

 

Regards,

Thiago

Oct 19, 2012 at 5:36 AM

Hi,

Thanks for answer. Can you give example how call MsExcel passing file as parameter.

 

Thanks,

Vera

Oct 20, 2012 at 7:07 AM

Hi Vera,

use the System.Diagnostics.Process class and its static method Start(..).

/Mats