Skip to content

Instantly share code, notes, and snippets.

@jonathansamines
Created August 21, 2013 19:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jonathansamines/6299392 to your computer and use it in GitHub Desktop.
Save jonathansamines/6299392 to your computer and use it in GitHub Desktop.
Eliminar procesos de Excel
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