microsoft.public.tw.excel
Discussion:
VB判斷儲存格是否空白
(时间太久无法回复)
Chiung
2004-10-12 02:53:04 UTC
Permalink
欲判斷儲存格內是否沒有輸入任何資料,以下是我的語法
但是無法達到要求,不知那裡有錯,thanks!!
Cells(i, 4).Text <> Null
icdee
2004-10-12 04:01:06 UTC
Permalink
Cells(i, 4).Text <> Empty
Null 與Empty 不同
null =>不含有效資料
empty =>空字串
其實一般我常用
cells(i,4)="" or len(cells(i,4))=0
判斷儲存格是否空白
而後者效率較佳
若有錯誤亦請不吝指正
Chiung
2004-10-13 05:19:04 UTC
Permalink
感謝你的回覆!!thanks
"icdee" 來函:
Post by icdee
Cells(i, 4).Text <> Empty
Null 與Empty 不同
null =>不含有效資料
empty =>空字串
其實一般我常用
cells(i,4)="" or len(cells(i,4))=0
判斷儲存格是否空白
而後者效率較佳
若有錯誤亦請不吝指正
继续阅读
narkive
:
不相关但有趣的话题
1
回复
內置的Google App數據備份能正常工作嗎?
启动
2013-07-23 06:09:46 UTC
4
回复
從Nandroid / CWM備份中提取應用程序數據
启动
2013-07-23 06:24:19 UTC
2
回复
如何為完整的泰米爾語印度語界面啟用Android手機
启动
2013-07-23 10:41:47 UTC
1
回复
有沒有辦法驗證庫存ROM?
启动
2013-07-23 16:31:24 UTC
1
回复
我的設備何時會獲得Android 4.3更新(Jelly Bean)?
启动
2013-07-24 21:22:50 UTC
2 回复
5088 意见
该页面的永久链接
禁用高级解析
树导航
Chiung
2004-10-12 02:53:04 UTC
icdee
2004-10-12 04:01:06 UTC
Chiung
2004-10-13 05:19:04 UTC
Loading...