Rss & SiteMap
Foxtable(狐表) http://www.foxtable.com
for each r as row in tables(xxx).rows dim b as boolean For n As Integer = 0 To Sheet.Rows.Count -1 if r("身份证") = Sheet(n,0).Text then 假设execl身份证放在第一列 b=true Sheet(n,1).Value = r("第一列") Sheet(n,2).Value = r("第2列") end if next if b=false then end if 2、需要另外处理,再遍历execl处理 For n As Integer = 0 To Sheet.Rows.Count -1 dim dr as datarow = datatables("xx").find("身份证='" & Sheet(n,0).Text & "'") if dr isnot nothing then msgbox(Sheet(n,0).Text & "没找到") …… |