21 Mar 2012 How to Use Excel VBA to Log-In to a Website. Posted on March 21, sURL =" https://www.examplewebsite.co.uk/login.aspx" Set oBrowser .