Try it and find out

to the code add:
VB Code:
  1. Private Declare Function DestroyWindow Lib "user32" Alias "DestroyWindow" (ByVal hwnd As Long) As Long
  2.  
  3. 'then in the sub add
  4. If lngHandle > 0 Then
  5.    DestroyWindow lngHandle
  6. End If



Woka