Header Ads

Code to Close a particular Browser

I know there are several methods to close a Browser but this is a smart one..

Sub CloseBrowser(iHwnd)
if browser("hwnd:="&iHwnd).Exist(3) then
browser("hwnd:="&iHwnd).close
end if
end Function
call CloseBrowser iHwnd
Powered by Blogger.