{"id":4439,"date":"2021-11-10T11:27:44","date_gmt":"2021-11-10T11:27:44","guid":{"rendered":"https:\/\/lgildv5i97.onrocket.site\/answers\/?post_type=question&#038;p=4439"},"modified":"2021-11-10T11:28:08","modified_gmt":"2021-11-10T11:28:08","slug":"id-like-to-close-a-batch-file-from-vba-code-in-excel-2007","status":"publish","type":"question","link":"https:\/\/computing.net\/answers\/programming\/id-like-to-close-a-batch-file-from-vba-code-in-excel-2007\/29099.html","title":{"rendered":"I&#8217;d Like To Close A Batch File From VBA Code In Excel 2007"},"content":{"rendered":"<p>I&#8217;ve written a simple batch file which connects my pc to a server, configures and copies files to the local machine and then launches an excel 2007 application.<\/p>\n<p>The batch file line to terminate itself (Exit) is not triggered until the excel app is closed. Is there a VBA command which will close the batch file?<\/p>\n<p>Thanks in anticipation \ud83d\ude42<\/p>\n","protected":false},"author":5,"featured_media":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"inline_featured_image":false,"iawp_total_views":12},"question-category":[55],"question_tags":[],"class_list":["post-4439","question","type-question","status-publish","hentry","question-category-programming"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/computing.net\/answers\/wp-json\/wp\/v2\/question\/4439","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/computing.net\/answers\/wp-json\/wp\/v2\/question"}],"about":[{"href":"https:\/\/computing.net\/answers\/wp-json\/wp\/v2\/types\/question"}],"author":[{"embeddable":true,"href":"https:\/\/computing.net\/answers\/wp-json\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/computing.net\/answers\/wp-json\/wp\/v2\/comments?post=4439"}],"wp:attachment":[{"href":"https:\/\/computing.net\/answers\/wp-json\/wp\/v2\/media?parent=4439"}],"wp:term":[{"taxonomy":"question-category","embeddable":true,"href":"https:\/\/computing.net\/answers\/wp-json\/wp\/v2\/question-category?post=4439"},{"taxonomy":"question_tags","embeddable":true,"href":"https:\/\/computing.net\/answers\/wp-json\/wp\/v2\/question_tags?post=4439"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}