Results 1 to 6 of 6
  1. #1
    kdbailey is offline Competent Performer
    Windows 7 64bit Access 2007
    Join Date
    Aug 2012
    Posts
    228

    Open Custom HTML in Chrome

    I am currently running code that opens chrome and opens a specific website. However I'm curious if I can open a website in which I specify the HTML?

    I'm basically performing a search function on a website currently, and the URL shows the searched Serial Number.



    I.E. "www.fakesite.com/search/555111" where 555111 is the serial number.

    Knowing that the serial number exists, I would like to basically perform the next task, which is selecting the found serial number and getting to the next screen.

    However, the next screen does not include the serial number in the URL, and it can only be found in the HTML. Anybody know how to do this?

  2. #2
    rpeare is offline VIP
    Windows XP Access 2003
    Join Date
    Jul 2011
    Posts
    5,442

  3. #3
    kdbailey is offline Competent Performer
    Windows 7 64bit Access 2007
    Join Date
    Aug 2012
    Posts
    228
    This looks more like just viewing the code, rather than setting it.

  4. #4
    ItsMe's Avatar
    ItsMe is offline Sometimes Helpful
    Windows 8 Access 2013
    Join Date
    Aug 2013
    Posts
    7,862
    I have not tried this with Chrome. It can be done with I.E.

    What code are you using to launch Chrome, a hyperlink?

  5. #5
    kdbailey is offline Competent Performer
    Windows 7 64bit Access 2007
    Join Date
    Aug 2012
    Posts
    228
    Just a Shell
    Code:
    Shell ("C:\Program Files (x86)\Google\Chrome\Application\chrome.exe -url www.website.com")

  6. #6
    ItsMe's Avatar
    ItsMe is offline Sometimes Helpful
    Windows 8 Access 2013
    Join Date
    Aug 2013
    Posts
    7,862
    Yeah, I would guess you would need some sort of API that you could reference in order to automate the browser. Of course, nothing is impossible. But I would probably look to automating Internet Explorer.

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Testing Chrome Add In
    By alansidman in forum General Chat
    Replies: 0
    Last Post: 09-01-2015, 09:40 AM
  2. Custom HTML preview form
    By Ruegen in forum Programming
    Replies: 3
    Last Post: 09-03-2014, 08:53 PM
  3. WebBrowser Control to use Chrome?
    By kdbailey in forum Access
    Replies: 2
    Last Post: 07-15-2014, 11:30 AM
  4. Replies: 2
    Last Post: 08-07-2013, 07:44 AM
  5. Button to Open HTML contained in Text Field
    By Douglas Post in forum Access
    Replies: 1
    Last Post: 01-22-2012, 12:12 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums