主题
Range (属性)
返回一个 Range 对象,它代表应用指定的“自动筛选”的区域。
示例
python
# 下例将应用第一张工作表的“自动筛选”的地址保存在变量中
def test():
address = Application.Worksheets.Item(1).AutoFilter.Range.Address()
python
# 下例选中活动工作表自动筛选应用到的区域
def test():
ActiveSheet.AutoFilter.Range.Select()