¡@¼ÊºÙ: ÀH·ÄÆ¿ºªº¦Ð¤ò ¡@ÀY»Î: [±s¥Î]¼ç¤ô¸¥
°ª¤¤¥Í 
- ©«¤l
- 852
- ¥DÃD
- 79
- ºëµØ
- 0
- ¿n¤À
- 918
- ÂI¦W
- 0
- §@·~¨t²Î
- Windows 7 , XP
- ³nÅ骩¥»
- Office 2007, Office 2003,Office 2010,YoZo Office
- ¾\ŪÅv
- 50
- ©Ê§O
- ¨k
- ¨Ó¦Û
- ¦t©z
- µù¥U®É¶¡
- 2011-4-8
- ³Ì«áµn¿ý
- 2024-2-21
|
¦^´_ 1# jackyliu - Sub test()
- For uu = 3 To ¤u§@ªí1.Range("a3").CurrentRegion.Rows.Count
- ¤u§@ªí2.Cells(uu, 1) = ¤u§@ªí1.Cells(uu, 1)
- ¤u§@ªí2.Cells(uu, 2) = ¤u§@ªí1.Cells(uu, 2)
-
- If (InStr(1, ¤u§@ªí2.Cells(uu, 1), "ABC") >= 1) Then
- ¤u§@ªí2.Cells(uu, 4) = "¤Wñ"
- End If
-
- If (InStr(1, ¤u§@ªí2.Cells(uu, 1), "A") >= 1) And (InStr(1, ¤u§@ªí2.Cells(uu, 1), "D") >= 1) And (InStr(1, ¤u§@ªí2.Cells(uu, 1), "E") >= 1) And (InStr(1, ¤u§@ªí2.Cells(uu, 1), "D") >= 1) Then
- ¤u§@ªí2.Cells(uu, 4) = "¤Uñ"
- End If
- If ¤u§@ªí2.Cells(uu, 1) <> "" And ¤u§@ªí2.Cells(uu, 4) = "" Then
- ¤u§@ªí2.Cells(uu, 4) = "²¤"
- End If
-
- If ¤u§@ªí2.Cells(uu, 1) <> "" Then
- If uu = 3 Then
- ¤u§@ªí2.Cells(uu, 3) = DateAdd("n", 90, ¤u§@ªí2.Cells(uu - 1, 3))
- ¤u§@ªí2.Cells(uu, 3).Select
- Selection.NumberFormatLocal = "hh:mm"
- End If
- If uu > 3 Then
- ¤u§@ªí2.Cells(uu, 3) = DateAdd("h", 8, ¤u§@ªí2.Cells(uu - 1, 3))
- §@ªí2.Cells(uu, 3).Select
- Selection.NumberFormatLocal = "hh:mm"
- End If
- End If
- If ¤u§@ªí2.Cells(uu, 1) = "" Then End
- Next
-
-
- ¤u§@ªí2.Cells(2, 4) = ""
- End Sub
½Æ»s¥N½X |
|