'How to close browser with VBA

Does any one can advise how to close browser basically on displayed website text/content? I would like to close automatically with VBA website after there will be displayed certain content. For example: I do command search with VBA in google search engine and there is no any results to be displayed. I want browser will close down itself.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source