以文本方式查看主题

-  Foxtable(狐表)  (http://foxtable.com/bbs/index.asp)
--  专家坐堂  (http://foxtable.com/bbs/list.asp?boardid=2)
----  不产生效果  (http://foxtable.com/bbs/dispbbs.asp?boardid=2&id=178005)

--  作者:zhuxinhui
--  发布时间:2022/6/14 17:16:00
--  不产生效果
  If rg.Cells(i, j).Value = "" Then 
                Continue For 
想运行到单元格为时就返来循环,但不产生效果,提示:从字符串“”到类型“Double”的转换无效。

--  作者:有点蓝
--  发布时间:2022/6/14 17:27:00
--  
试试
If rg.Cells(i, j).Value is nothing Then 

或者
If rg.Cells(i, j).Value = nothing Then 

--  作者:zhuxinhui
--  发布时间:2022/6/14 17:40:00
--  
多谢