如何在MS Access 2010上刷新Web浏览器控件?
我正在尝试:
Private Sub Btn_Report_Click()
'Create the report HTML...
Set objFSO = CreateObject("Scripting.FileSystemObject")
Set objFile = objFSO.CreateTextFile("C:\Windows\Temp\test_report.html")
message= "Test of line on variable"
objFile.WriteLine (message)
objFile.WriteLine ("This is the second line")
objFile.Close
End Sub
WebControl在Control Source属性上具有此属性
="C:\Windows\Temp\test_report.html"
谢谢,
我做到了。
Show_Report.SetFocus
SendKeys "{F5}"
其中Show_Report是控件的名称:MS Access中的WebBrowser控件。
谢谢。
本文收集自互联网,转载请注明来源。
如有侵权,请联系[email protected] 删除。
我来说两句