是否可以打开一个 URL网页,然后使用 VBA 从 MS Access 打印它?

问题描述

我有一个命令按钮,当前可以根据记录信息打开一个 URL。我可以从 MS Access 成功打开网页,但我不确定是否可以向 Web 浏览器发送打印命令。

我的代码打开 x 数量的网页作为文档包的一部分,而不是用户进入每个文档并打印我希望这是自动化的。

打开网页的代码——trim number 是一个包含不同链接扩展列表的数组

In CSS,we use the "font-family" property to specify the font of a text.

 The font-family property should hold several font names as a "fallback" system,to ensure maximum compatibility between browsers/operating systems. Start with the
 font you want,and end with a generic family (to let the browser pick a similar 
 font in the generic family,if no other fonts are available). 
 The font names should be separated with comma.

Note: If the font name is more than one word,it must be in quotation marks,like: "Times New Roman".

我不知道如何然后命令它从 MS Access 打印。

或者,我正在考虑打开这些链接并将其另存为 PDF,或者将链接直接打开为 PDF 或类似格式,但我没有运气。理想情况下,一旦打印,窗口将关闭,但我认为 MS Access 无法将该命令发送到浏览器(我可能错了!)。

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)