Code to Close a particular Browser

February 24, 2010

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

You Might Also Like

0 comments