Home > Forum Home > Analyzing Corporate Financial Data > Macro that will automatically log me into web application | Share |
Forum Topic | Post Reply Login |
Macro That Will Automatically Log Me Into Web Application | Rate this: (1.8/5 from 4 votes) |
I have a spreadsheet with links to various web based applications that I use on a dailly basis, I would like to create a macro that will auto populate the username and password and also automatically log me in. It is not life and death but it would be nice if this was possible. I have been able to get it to populate the username and pasword fields but I still have manually click the submit/login button. Please help as I am now pulling my hair out(not that I had much in the first place). | ||
Posted by tophs1012 on |
Replies - Displaying 1 to 5 of 5 | Order Replies By: Most Recent | Chronological | Highest Rated |
Rate this: (3.5/5 from 2 votes) | |
Excel Business Forums Administrator | |
Posted by Excel Helper on |
Rate this: (3/5 from 2 votes) VBA Code:
| ||
Posted by tophs1012 on |
Rate this: (3/5 from 2 votes) VBA Code:
| ||
Excel Business Forums Administrator | ||
Posted by Excel Helper on |
Rate this: (2.5/5 from 2 votes) Sub Login_WebQuery() Dim MyPost As String Const MyUrl As String = "https://www.btwholesale.com/siteminderagent/forms/login.fcc" Const PostUser As String = "USER=" & Worksheets("Login Data").Range("C5").Value Const PostPassword As String = "&PASSWORD=" & Worksheets("Login Data").Range("D5").Value MyPost = PostUser & PostPassword With ActiveSheet.QueryTables.Add(Connection:= _ "URL;" & MyUrl, Destination:=Cells(1, 1)) .PostText = MyPost .BackgroundQuery = True .TablesOnlyFromHTML = True .Refresh BackgroundQuery:=False .SaveData = True End With End Sub | |
Posted by tophs1012 on |
Rate this: (2/5 from 2 votes) | |
Excel Business Forums Administrator | |
Posted by Excel Helper on |
Displaying page 1 of 1 |
Find relevant Excel templates and add-ins for Macro that will automatically log me into web application in the Excel Business Solutions Directory |