Quantcast
Channel: VBForums
Viewing all articles
Browse latest Browse all 15919

MS Access WebBrowser.Document

$
0
0
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.

Viewing all articles
Browse latest Browse all 15919

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>