Closing EXCEL using batch job

I have a batch job that creates some CSV files, which I import into EXCEL using macros. I then use the batch job to open the EXCEL file, using the "start" command. However, I do not want to incorporate the closing from within EXCEL, as I want this batch job to open and close the EXCEL file, not a macro. The point will be that I will populate the EXCEL file, but another person needs to open this file and examine the results, so I cannot have a macro that closes it automatically. Any help would be great!

Answers


You can use the following:

taskkill /IM excel.exe

Need Your Help

Tab Bar Controller items start from the right

objective-c ios xcode uitabbarcontroller

I am trying to make tab bar's items to start from the right.

OpenOffice Calc can not read a simple CSV file. Why?

csv openoffice.org openoffice-calc

I have a Web site (PHP) that generates a CSV file (text/csv) with the following content:

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.