Selenium sendkeys enter vba. Then you can try to send the escape key : selenium.