Pavan Bujji

Pavan Bujji

  • NA
  • 207
  • 35.9k

How to close an excel application if it is already opened ?.

Sep 19 2017 7:04 AM
Hi friends,
 
Im new to WINFORMS and Im using Windows forms application now.
 
I want to browse excel application and do my work.Sometimes I forget to close the application and do the work.at that time I'm getting the exception as 'application is already using by some one'. My question is, I browse that excel application if is it already opened that same excel application I want to close that excel by using C# Code without giving the excel path. How to do ?.
 
please help me if anybody knows ?.
 
Thanks & Regards,
 
Pavan G.

Attachment: Capture.zip

Answers (2)