Why am I getting the following error. The autocomplete even shows Documentcomplete as an option for HTMLViewer1.
Type “HTMLViewer” has no member named “DocumentComplete”
do until window_HTML.HTMLViewer1.DocumentComplete(url)
dim url as string
url =“http://” +“www.google.com” //example
do until window_HTML.HTMLViewer1.DocumentComplete( url) //line with error
window_HTML.Title=“Spindle Speed Calculations”
window_HTML.HTMLViewer1.LoadURL(url)
loop
window_HTML.HTMLViewer1.ExecuteJavaScript(“window.location.reload(true);”) //clear cache