HDTutorial
EN

Playback starts YouTube’s embedded player (privacy-enhanced mode).

How to Login into Website Automatically Using VBA

231,097 views November 15, 2013 7:29

Watch on YouTube
ChannelDinesh Kumar Takyar

Description from the creator

Alex wants to automate the process of logging into a website automatically using Excel VBA. He has the username and password for the website.
Our video demonstrates how you can login automatically into a website like Gmail using Excel VBA:
1. Go to the Gmail website
2. View its source code to find out the labels used for the username and password
3. Start the Visual Basic Editor in MS Excel
4. Activate the following two items by clicking on Tools and then 'References...':
•Microsoft Internet Controls
•Microsoft HTML Object Liabrary
5. Next define two public variables
6. Now start writing the macro
7. Using a looping process access the username and password text-boxes automatically for entry of the relevant data
8. Then identify the 'submit' button, click on it and exit the for loop
9. To avoid error messages popping up write a few lines of code to ignore the errors
You'll notice that the VBA code works well.
You can access the VBA code here:
exceltrainingvideos.com/how-to-login-automatica…

For more knowledge read the book Excel 2016 Power Programming with VBA: amzn.to/2kDP35V
If you are from India you can get this book here: amzn.to/2jzJGqU

About this tutorial

Dinesh Kumar Takyar published this 7:29 video tutorial on November 15, 2013. It has been watched 231,097 times on YouTube.

Category
Education
Duration
7:29
Published
November 15, 2013
Views
231,097
Likes
1,104

Tags

Share

This tutorial in other languages