Free Lessons
Courses
Seminars
TechHelp
Fast Tips
Templates
Topic Index
Forum
ABCD
 
Home   Courses   TechHelp   Forums   Help   Contact   Merch   Join   Order   Logon  
 
Back to Access Forum    Comments List
Upload Images   @Reply   Bookmark    Link   Email   Next Unseen 
Internet Explorer Replacement
John Hirschy 
    
3 years ago
Internet Explorer was retired last year as a means of downloading automatically website pages with MS Access codes.  My associate and I have not found API access for Edge or Chrome like what existed with IE.  Does anyone know a workaround?

Following is how we used IE last year.  I use this coding once a year, but it is an essential tool.  It is used in conjunction with an Exel spreadsheet.  There is a marriage between Excel & Access for my use.


code
Sub DallasWebSMacro()
    Dim i As Long
    Dim LogNoRng As Range: Set LogNoRng = Worksheets("Spreadsheet").Range("B6")
    Dim StartRow As Long
    Dim EndRow As Long
    Dim ie As Object
    Dim Webloc As String
    Dim FullWeb As String
    Set ie = CreateObject("InternetExplorer.Application")
    Application.Wait (Now + TimeValue("0:00:10"))
    StartRow = InputBox("Enter the row you want to start on")
    EndRow = InputBox("Enter the row you want to end on")
    For i = StartRow To EndRow
    LogNoRng = Worksheets("Hirschy").Cells(i + 1, 1).Value
    Dim WSHNetwork As Object
    Set WSHNetwork = CreateObject("WScript.Network")
    Dim sFolder As String
    Dim sFoldercheck As String
    Application.StatusBar = i

If Worksheets("PDF Stamp Criteria").Range("B11").Value = "Shawn 1" Then
sFolder = "C:\Users\shawn\Desktop\Dallas\Log\" & Sheets("Spreadsheet").Range("B6").Value
sFoldercheck = "C:\Users\shawn\Desktop\Dallas\Log\" & Sheets("Spreadsheet").Range("B6").Value & "\a.pdf"
ElseIf Worksheets("PDF Stamp Criteria").Range("B11").Value = "Contractor" Then
sFolder = Worksheets("PDF Stamp Criteria").Range("B13").Value & "\" & Sheets("Spreadsheet").Range("B6").Value
sFoldercheck = Worksheets("PDF Stamp Criteria").Range("B13").Value & "\" & Sheets("Spreadsheet").Range("B6").Value & "\a.pdf"
Else
sFolder = "S:\Property Tax Consulting\Annual Files\2022\" & Sheets("Spreadsheet").Range("B6").Value
sFoldercheck = "S:\Property Tax Consulting\Annual Files\2022\" & Sheets("Spreadsheet").Range("B6").Value & "\a.pdf"
End If

If Dir(sFolder, vbDirectory) = "" Then
    MkDir sFolder
Else
End If
If Dir(sFoldercheck, vbDirectory) <> "" Then
    Kill sFoldercheck
   Else
End If
Webloc = Sheets("Spreadsheet").Range("B42").Value
FullWeb = "https://www.dallascad.org/AcctDetailRes.aspx?ID=" & Webloc
With ie

    .Visible = True
    .Navigate FullWeb

    Do While .Busy
        Application.Wait DateAdd("s", 1, Now)
    Loop

    .ExecWB 6, 2
    Application.Wait DateAdd("s", 7, Now)
    Call PDFPrint(sFolder & "\a.pdf")
End With
Application.StatusBar = "Currently on row " & i
Next
ie.Quit
Application.Wait (Now + TimeValue("0:00:10"))
Set ie = Nothing
MsgBox "The Macro Has Finished Running", , "Macro Done"
Exit Sub
End Sub

Alex Hedley  @Reply  
           
3 years ago
Have you asked https://www.dallascad.org/ if they have an API you could use?
Alex Hedley  @Reply  
           
3 years ago
Have you tried New WebBrowser Control

This thread is now CLOSED. If you wish to comment, start a NEW discussion in Access Forum.
 

Next Unseen

 
New Feature: Comment Live View
 
 

The following is a paid advertisement
Computer Learning Zone is not responsible for any content shown or offers made by these ads.
 

Learn
 
Access - index
Excel - index
Word - index
Windows - index
PowerPoint - index
Photoshop - index
Visual Basic - index
ASP - index
Seminars
More...
Customers
 
Login
My Account
My Courses
Lost Password
Memberships
Student Databases
Change Email
Info
 
Latest News
New Releases
User Forums
Topic Glossary
Tips & Tricks
Search The Site
Code Vault
Collapse Menus
Help
 
Customer Support
Web Site Tour
FAQs
TechHelp
Consulting Services
About
 
Background
Testimonials
Jobs
Affiliate Program
Richard Rost
Free Lessons
Mailing List
PCResale.NET
Order
 
Video Tutorials
Handbooks
Memberships
Learning Connection
Idiot's Guide to Excel
Volume Discounts
Payment Info
Shipping
Terms of Sale
Contact
 
Contact Info
Support Policy
Mailing Address
Phone Number
Fax Number
Course Survey
Email Richard
[email protected]
Blog RSS Feed    YouTube Channel

LinkedIn
Copyright 2026 by Computer Learning Zone, Amicron, and Richard Rost. All Rights Reserved. Current Time: 5/6/2026 7:43:38 PM. PLT: 0s