求execl2007高手帮我看看这个宏,能不能实现我想要功能

[复制链接]
查看11 | 回复2 | 2013-1-3 15:51:56 | 显示全部楼层 |阅读模式
Sub hz()Dim sht As WorksheetDim r&, i&, t%With Sheets("汇总").Cells.ClearContentsFor Each sht In Worksheets
i = .Range("a200000").End(xlUp).Row
If i = 1 Then
t = 0
Else
t = 1
End If
r = Application.WorksheetFunction.Min(sht.Range("a200000").End(xlUp).Row, sht.Range("a1").End(xlD...
回复

使用道具 举报

千问 | 2013-1-3 15:51:56 | 显示全部楼层
你这汇总表中的数据,怎么才能判断是哪个表中引用过来的??呵呵...
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

主题

0

回帖

4882万

积分

论坛元老

Rank: 8Rank: 8

积分
48824836
热门排行