- ©«¤l
- 835
- ¥DÃD
- 6
- ºëµØ
- 0
- ¿n¤À
- 915
- ÂI¦W
- 16
- §@·~¨t²Î
- Win 10,7
- ³nÅ骩¥»
- 2019,2013,2003
- ¾\ŪÅv
- 50
- ©Ê§O
- ¨k
- µù¥U®É¶¡
- 2010-5-3
- ³Ì«áµn¿ý
- 2024-11-14
|
¥»©«³Ì«á¥Ñ luhpro ©ó 2013-11-14 22:35 ½s¿è
¦^´_ luhpro
¤j¤j§A¦n
³o¬O§Ú¶K§Aªºµ{¦¡ªºª©¥»
«ö«ö¶s°õ¦æ®É ¥X¨Óªº¤é´Á©Ç©Çªº ¦Ó¥B"¥X¶Ô¨Æ¥Ñ"¨º¸Ìªº¬P´ÁX¤]¨S¦³§ì¨ì¸ê®Æ©O~"~
prince0413 µoªí©ó 2013-11-14 17:16
¤é´Á©Ç©Çªº? À³¸Ó¤£·|ªº°Ú, §A¬Ý§Úªº§ì¹Ï :
²Ä¤@¶
²Ä¤G¶
²Ä¥|¶
²Ä¤»¶
¦Ü©ó "¥X¶Ô¨Æ¥Ñ" ¤º¨S¸ê®Æ³oÓ°ÝÃD,
¤W±ªºµ{¦¡§Ú¥»¨Ó´N¨S°µ³oÓ³¡¥÷.
¦]¬°¤£½T©w§Aªº¨Æ¥Ñ¬O§_n¥Ñµ{¦¡¦Û°Ê²£¥Í,
¥ç©Î¬O¤§«á¦A¥Ñ¤â¼g¸É¤W.
¬JµM§A§Æ±æµ{¦¡¦Û°Ê²£¥Í,
¨º´N¦A½Õ¾ã¤@¤UÅo.- Sub cbCrtTbl_Click()
- Dim iDate%, iLoc%, iTbl%, iEnd%
- Dim lRow&
- Dim sStr$
- Dim wsSou As Worksheet, wsTar As Worksheet
-
- Set wsSou = Sheets("11¤ë")
- Set wsTar = Sheets("°²¤é¥X¶Ô³æ")
- wsTar.Activate
- lRow = 11
-
- With wsSou
- iTbl = 0
- Do While .Cells(lRow, 4) <> ""
- sStr = .Cells(lRow, 6)
- iLoc = InStr(1, sStr, "/") + 1
- Do While iLoc < Len(sStr)
- iEnd = InStr(iLoc, sStr, ".")
- If iEnd = 0 Then iEnd = Len(sStr) + 1
- iDate = Mid(sStr, iLoc, iEnd - iLoc)
- wsTar.Cells(5 + iTbl * 14, 1) = CDate("2013/11/" & iDate)
- wsTar.Cells(5 + iTbl * 14, 2) = .Cells(lRow, 4)
- wsTar.Cells(5 + iTbl * 14, 4) = "(¬P´Á" & Choose(Weekday(CDate("2013/11/" & iDate), 2), _
- "¤@", "¤G", "¤T", "¥|", "¤", "¤»", "¤é") & ")¨FÀsÀç·~"
-
- If iTbl = 1 Then
- wsTar.PrintPreview
- iTbl = -1
- End If
-
- iLoc = iEnd + 1
- iTbl = iTbl + 1
- Loop
- lRow = lRow + 1
- Loop
-
- If iTbl = 1 Then
- wsTar.Cells(5 + iTbl * 14, 1) = ""
- wsTar.Cells(5 + iTbl * 14, 2) = ""
- wsTar.Cells(5 + iTbl * 14, 4) = ""
- wsTar.PrintPreview
- End If
- .Activate
- End With
- End Sub
½Æ»s¥N½X
½Ð°²&¥X¶Ô¥Ó½Ð³æ-a.zip (51.03 KB)
|
|