Kill anfile

Last Edited By Krjb Donovan
Last Updated: Mar 05, 2014 09:43 PM GMT

QuestionEdit

Good Morning Stuart

Can anfile by using VBA kill itself and terminate the application.

thank you for your time Hadi

AnswerEdit

As far as I know, you can use vba to kill a file (using the "kill" keyword), but I'm not familiar with any way to kill the workbook in which the vba code itself resides. In your specific situation, I'm sure there's a work-around... such as launching vba code in the Personal workbook to close and kill the active workbook.

Advertisement

©2024 eLuminary LLC. All rights reserved.