Playback starts YouTube’s embedded player (privacy-enhanced mode).
How to Login into Website Automatically Using VBA
ChannelDinesh Kumar TakyarDescription 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
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.
- Channel
- Dinesh Kumar Takyar
- Category
- Education
- Duration
- 7:29
- Published
- November 15, 2013
- Views
- 231,097
- Likes
- 1,104
Tags
Share
This tutorial in other languages
- FRComment se connecter dans le site Web automatiquement en utilisant VBA
- ESCómo Iniciar sesión en el sitio Web automáticamente utilizando VBA
- PTComo para fazer login em site automaticamente usando VBA
- ITCome Effettuare il login sito web utilizzando automaticamente VBA
- DEWie man Einloggen in Webseiten automatisch mit VBA
- NLHoe aanmelden in Website automatisch met behulp van VBA
- RUКак войти в веб-сайт автоматически с помощью VBA
- PLJak się zalogować w Serwisie automatycznie przy użyciu VBA
- JAVBAを使用して自動的にウェブサイトにログインする方法
- ARكيفية الدخول إلى الموقع عن طريق تلقائيا VBA
- HIकैसे लॉग इन करने के लिए वेबसाइट स्वत: VBA का उपयोग में
- IDCara Login ke Situs Web Secara otomatis Menggunakan VBA