- ©«¤l
- 39
- ¥DÃD
- 15
- ºëµØ
- 0
- ¿n¤À
- 69
- ÂI¦W
- 0
- §@·~¨t²Î
- Windows 7
- ³nÅ骩¥»
- office 2016
- ¾\ŪÅv
- 20
- ©Ê§O
- ¨k
- ¨Ó¦Û
- ·s¥_¥«
- µù¥U®É¶¡
- 2018-11-23
- ³Ì«áµn¿ý
- 2020-2-26
|
¥»©«³Ì«á¥Ñ show5217 ©ó 2019-7-23 10:20 ½s¿è
¦^´_ 7# ã´£³¡ªL
ÁÂÁÂ, «ü±Ð¤F. §Ú¬O¥Î¤U±³oºØ¤èªk
new_id = s_id
n = n + 1
Sheet1.Cells(n, "n") = s_id
txt_str = txt_str & Space(7 - Len(s_id)) & s_id
If Sheet1.Cells(i, "f") <> "" Then
Sheet1.Cells(n, "o") = Sheet1.Cells(i, "f")
txt_str = txt_str & Space(1) & Sheet1.Cells(n, "o") & Space(21 - Len(Sheet1.Cells(n, "o")))
j = j + 1
txt_str = txt_str & Space(22)
If Sheet1.Cells(i, "e") = "" Then
Sheet1.Cells(n, "q") = "-"
Else
Sheet1.Cells(n, "q") = Sheet1.Cells(i, "e")
End If
txt_str = txt_str & Sheet1.Cells(n, "q") & Space(2)
Set Rng = Sheet2.Range("a:a").Find(Sheet1.Cells(i, "g"), lookat:=xlWhole)
If Not Rng Is Nothing Then
r = Rng.Row
supply = Sheet2.Cells(r, "b")
Else
supply = Sheet1.Cells(i, "g")
End If
Sheet1.Cells(n, "r") = supply
txt_str = txt_str & supply & Space(40 - Len(supply))
Sheet1.Cells(n, "s") = Sheet1.Cells(i, "h")
txt_str = txt_str & Sheet1.Cells(n, "s") & Space(5 - Len(Sheet1.Cells(n, "s")))
End If
txt_str = txt_str & vbCrLf |
|