我用RefEdit来选择区域,输入公式,能够RefEdit1 Like "*!*" & Selection.Row 来判断选取的行与输入公式的行是否同行!
但未能实现,当RefEdit来选择区域多了一行时如何判断,请大家帮忙!
示例见此贴:
http://www.excelpx.com/forum.php?mod=viewthread&tid=38553&replyID=38553
使用道具 举报
别沉了,顶一下!
谢谢,找到了:
行数=Range(RefEdit1.Text).Rows.Count列数=Range(RefEdit1.Text).Columns.Count
本版积分规则 发表回复 回帖后跳转到最后一页
小黑屋|手机版|Archiver|Excel精英培训 ( 豫ICP备11015029号 )
GMT+8, 2024-3-28 21:41 , Processed in 0.631975 second(s), 6 queries , Gzip On, Yac On.
Powered by Discuz! X3.4
Copyright © 2001-2020, Tencent Cloud.