【发布时间】:2017-08-17 07:20:58
【问题描述】:
我需要在 Excel VBA 中获取工作表区域的宽度和高度(以像素为单位)。这是显示工作表中单元格的区域。因此,它必须排除所有其他 Excel UI 元素。我尝试使用 GetSystemMetrics 和 SystemParametersInfo 但没有找到解决方案。
【问题讨论】:
-
检查Window对象的属性和方法
标签: excel vba pixels area worksheet