This project has moved. For the latest updates, please go here.

How to open file in Run-Time

Oct 17, 2012 at 8: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

Editor
Oct 18, 2012 at 12: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 4:36 AM

Hi,

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

 

Thanks,

Vera

Developer
Oct 20, 2012 at 6:07 AM

Hi Vera,

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

/Mats