标题:读取数组中数据问题,求助!!!
只看楼主
zhousanhua
Rank: 1
等 级:新手上路
帖 子:15
专家分:0
注 册:2007-8-24
 问题点数:0 回复次数:0 
读取数组中数据问题,求助!!!
009 009 889 889 009 889 889 889 889 889 889 889 889 889 889 889 889 889 889 889 889 889 889 889
889 889 889 889 889 889 889 889 009 009 009 009 889 889 009 009 009 009 009 009 009 009 009 009        
以上是数据文件内容

Dim S As String   
        Dim i, j, Gs As Integer
        Dim xx As Object
        For j = 0 To T2.Text
            S = TextBox1.Text.Split(vbCrLf)(j)   
            xx = Split(S, " ")   
            For i = LBound(xx) To UBound(xx)   
                If Mid(xx(i), 1, 3) = "889" Then---------------这个地方总是无法检测到XX(i)第一列的数据!
                    Gs += 1
                    'MsgBox(ComYs.Text & "  第" & j & "行")
                End If
                'MsgBox(xx(i))
            Next
        Next j
搜索更多相关主题的帖子: Object 
2012-01-29 10:35



参与讨论请移步原网站贴子:https://bbs.bccn.net/thread-360092-1-1.html




关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 0.086917 second(s), 8 queries.
Copyright©2004-2025, BCCN.NET, All Rights Reserved