一、学友问题描述:
如何获取当前打开报表的数量呢?
二、解决方法:
使用Application.Reports.Count属性即可将当前打开的报表数量统计出来。
代码如下:
Function CountOpenRpts() CountOpenRpts = Application.Reports.Count End Function
演示图: