Hi there--
I am using MS Access 2016 and hoping to use the WebBrowser0.Document function. Currently, I am not given an option to use .Document, and I can't figure out why.
Here is my VBA code:
Private Function GetBrowserData1(ByVal FunctionName As String) As String
GetBrowserData1 = WebBrowser0.Document.getElementById("Latitude").Value
End Function
When I run it, I get the error that says "Compile Error: Method or data member not found." and it highlights .Document.
Please let me know how to fix this!
Thank you for your help.
I am using MS Access 2016 and hoping to use the WebBrowser0.Document function. Currently, I am not given an option to use .Document, and I can't figure out why.
Here is my VBA code:
Private Function GetBrowserData1(ByVal FunctionName As String) As String
GetBrowserData1 = WebBrowser0.Document.getElementById("Latitude").Value
End Function
When I run it, I get the error that says "Compile Error: Method or data member not found." and it highlights .Document.
Please let me know how to fix this!
Thank you for your help.