Created
August 21, 2013 19:58
-
-
Save jonathansamines/6299392 to your computer and use it in GitHub Desktop.
Eliminar procesos de Excel
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Dim proc As System.Diagnostics.Process | |
For Each proc In System.Diagnostics.Process.GetProcessesByName("EXCEL") | |
If proc.MainWindowTitle.Trim.Length = 0 Then | |
'proc.GetCurrentProcess.StartInfo | |
proc.Kill() | |
End If | |
Next |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment