Foxtable(狐表)用户栏目专家坐堂 → 为啥清除不了


  共有3530人关注过本帖平板打印复制链接

主题:为啥清除不了

帅哥哟,离线,有人找我吗?
blackzhu
  1楼 | QQ | 信息 | 搜索 | 邮箱 | 主页 | UC


加好友 发短信 一级勋章
等级:狐仙 帖子:9875 积分:57596 威望:0 精华:15 注册:2008/9/1 9:45:00
为啥清除不了  发帖心情 Post By:2013/11/27 13:59:00 [只看该作者]

 Dim Book As New XLS.Book(ProjectPath & "data\资料卡.xls")
    Dim sheet As XLS.sheet = Book.Sheets(0)
    sheet(4,2).Value = Nothing
    sheet(4,2).Value = nothing
    sheet(5,2).Value = nothing
    sheet(4,4).Value = nothing
    sheet(5,4).Value = nothing
    sheet(6,2).Value = nothing
    sheet(6,4).Value = nothing
    sheet(7,2).Value = nothing
    sheet(8,2).Value = nothing
    sheet(8,4).Value = nothing
    sheet(9,1).Value = nothing



我这样写代码 怎么清除不了excel的数据,这个excel 是在 浏览器控件中加载的.路径那些我都设置好的


 回到顶部