how to fill values in access browser (1 Viewer)

Reshmi mohankumar

Registered User.
Local time
Today, 19:09
Joined
Dec 5, 2017
Messages
101
I am trying to paste the values from form to access browser by clicking the command for auto fill the user id and passwords. So i requesting the vba code .Thank you .
 

jdraw

Super Moderator
Staff member
Local time
Today, 09:39
Joined
Jan 23, 2006
Messages
15,385
Please tell us in clear, simple terms --what do you mean by Access browser.
 

June7

AWF VIP
Local time
Today, 05:39
Joined
Mar 9, 2014
Messages
5,488
Review http://www.accessforums.net/showthread.php?t=34620
Example code that manipulates Internet Explorer (not using web browser control):

Code:
        'open ASTM/AASHTO test standards website and pass agency username/password to the web page
        Dim oBrowser As InternetExplorer
        Set oBrowser = New InternetExplorer
        oBrowser.Silent = True
        oBrowser.Navigate "[URL]https://login.ihserc.com/login/erc[/URL]?"
        oBrowser.Visible = True
        Do
            'Wait till the Browser is loaded
        Loop Until oBrowser.ReadyState = READYSTATE_COMPLETE
        oBrowser.Document.all.Item("subAcctLoginName").Value = "something"
        oBrowser.Document.all.Item("subAcctPassword").Value = "something"
        oBrowser.Document.all.Item("Submit").Click
 

Users who are viewing this thread

Top Bottom