以文本方式查看主题 - Foxtable(狐表) (http://foxtable.com/bbs/index.asp) -- 专家坐堂 (http://foxtable.com/bbs/list.asp?boardid=2) ---- [求助]清除表格内容 (http://foxtable.com/bbs/dispbbs.asp?boardid=2&id=147814) |
-- 作者:hanlingli111999 -- 发布时间:2020/3/24 19:26:00 -- [求助]清除表格内容 老师好,我想一键清除指定表格区域内单元格内容,怎么写代码呀 |
-- 作者:有点蓝 -- 发布时间:2020/3/24 20:34:00 -- 参考:http://www.foxtable.com/webhelp/topics/0447.htm With Tables("表B") For i As Integer = .TopRow To .BottomRow For j As Integer = .LeftCol To .rightCol .Value(i,j) = Nothing Next Next End With |