- ©«¤l
- 228
- ¥DÃD
- 62
- ºëµØ
- 0
- ¿n¤À
- 364
- ÂI¦W
- 20
- §@·~¨t²Î
- Win 10
- ³nÅ骩¥»
- Office 2007 & 2010
- ¾\ŪÅv
- 20
- ©Ê§O
- ¨k
- µù¥U®É¶¡
- 2011-3-5
- ³Ì«áµn¿ý
- 2024-9-16
|
¦^´_ 2# n7822123
ÁÂÁ¤j¤jÀ°¦£¡A§Ú¬Q±ßÁÙª¦¤å§ä¤é¥»ºô¯¸¡Aµ²ªG¨S¹ï·Ó¥X¨Ó¡AÁÂÁ±z¡C
±µ¤U¨ÓÁÙ¦³°ÝÃD¡A³oµ{¦¡½X
order1 = 0 '»s¥O³æ¤Ñ¼Æ
Change = 0 '´«³W®æÁ`®É¶¡
hr3 = 0
b = 48
i1 = i
'004 ¶
il1 = i1 + 12
a = a + 1
End If
End If
'¤@¶g¨â³Wªº±Æªk¡A¦ýµL¤W³W¡A¶·¥ýpºâ
If j > 1 And Sheets("±Æµ{½Æ»s").Cells(i, 1) <> "" And InStr(Sheets("±Æµ{½Æ»s").Cells(i, 1).Value, "¤ë") = 0 And Sheets("±Æµ{½Æ»s").Cells(i, j) = "" And Len(Sheets("±Æµ{½Æ»s").Cells(i + 2, j)) > 10 And Len(Sheets("±Æµ{½Æ»s").CeIls(i + 3, j)) > 10 And InStr(Sheets("±Æµ{½Æ»s").Cells(i + 2, j).Value, "¤wpºâ¹L") = 0 Then -------------------->³o¤@¦æ¦³°ÝÃD
If InStr(Sheets("±Æµ{½Æ»s").Cells(i + 2, j).Value, "-") = 0 Or InStr(Sheets("±Æµ{½Æ»s").Cells(i + 2, j).Value, "-") > 19 Then '¨S¦³³s±µ²Å¸¹¡A©Î³s±µ²Å¸¹¦b²Ä20¦ì¤¸¥H«á¡A¦]¬°¦³ªº«È¤á¦WºÙ¦³³s±µ²Å¸¹
e = Sheets("±Æµ{½Æ»s").Cells(i + 3, j).Value '¥]§t½u§÷¡B¼Æ¶qªºÀx¦s®æ
el = Sheets("±Æµ{½Æ»s").Cells(i + 2, j).Value '¥]§t³W®æªºÀx¦s®æ
i1 = i + 2
If InStr(Sheets("±Æµ{½Æ»s").CelIs(i + 2, j).NoteText, Sheets("¬Q¤é").Cells(a - 2, 3).Value) <> 0 Then '¦pªG¬O²{¦æ»s¥OªºÀx¦s®æ
CURR = 1
HRS = Mid(e, InStr(e, "-1") + 1, Len(e) - InStr(e, "-")) '¶}©l¨ú½u®|¡B§Îª¬¡A²Ä¤@Ó³s±µ²Å¸¹«á¡AÄ~Äò¨ú½u®|¡B§Îª¬
If InStr(Left(HRS, 6), "H") <> 0 Then
HRS = Left(HRS, InStr(num, "H"))
End If
If InStr(Left(HRS, 6), "R") <> 0 Then
HRS = Left(HRS, InStr(num, "R"))
If InStr(Left(HRS, 6), "S") <> 0 Then
HRS = Left(HRS, InStr(num, "S"))
End If
End If
If CURR = 1 Then
If Sheets("±Æµ{½Æ»s").Cells(i1, j).Interior.Colorlndex = 37 Or Sheets("±Æµ{½Æ»s").Cells(il, j).Interior.ColorIndex = 20 Or Sheets("±Æµ{½Æ»s").Cells(i1, j).Interior.Colorlndex = 24 Then '¦³»s¥O¥B«D²¾³æªÌ
' Call MM123(a, b, c, e, el, i, il, j, hrl, hr2, hr3, item0, iteml, HRS0, HRS, orderl)
item0 = Item '¦s¬°«e³W®æ
HRS0 = HRS
End If
End If
'005 ¶
Sheets("±Æµ{½Æ»s").Cells(i + 2, j).Value = "¤wpºâ¹L" & Sheets("±Æµ{½Æ»s").Cells(i + 2, j).Value
End If
End If
ÀɮפU¸ü¡G
20190622 VBA ¦Û°Ê²£¥Í±Æµ{ v.3.rar (28.15 KB)
|
|