ªð¦^¦Cªí ¤W¤@¥DÃD µo©«

[µo°Ý] [µo°Ý] Ãö©ó ¸ê®Æ¶¡±µ©Ê¹ïÀ³

[µo°Ý] [µo°Ý] Ãö©ó ¸ê®Æ¶¡±µ©Ê¹ïÀ³

¦]­n¥Î§Ö³t¨ú¥Nªº¥\¯à< ks(XXXX) ¨ú¥N¦¨ kt(XXXX) >¦Ó»Ý­n¤j¶q«Å§i<¦]¬°¨ú¥N©M³Q¨ú¥Nªº¤å¦rµLªk¹w¥ý³]©w¡A¥u¯àºCºC§PÂ_>
¤~·Q»¡¥Î¶¡±µ©Êªº¤è¦¡¡A§å¦¸«Å§i
°ÝÃD¦p¤U
ªþ¹Ï¤¤¡AA¡BC Äæ¦ì¬°¸ê®Æ·½¡AM¡BNÄ欰°Ó¼Æ©M¾l¼Æ<¸ê®Æµ§¼Æ 1102µ§>¡AP1¬° A1³sµ²¨ì A1102< A1 &":"&A2..........&":"&A1102>
·Q½Ð°Ý
1.¦p¦ó§Q¥Î°Ó¼Æ Åý P1 ¬°A1 &":"&A2.....&":"&A10¡B P2 ¬°A11 &":"&A12.....&":"&A20.... ¥H¦¹Ãþ±À¨ìP111< (1102/10)+1>
2.vba ­Y«ü©wÀx¦s®æ¬° " ' " ¬O¥i¥H«ü©w¡A¦ý­Y¬O " " " «h·|¥X²{¿ù»~¡A½Ð°Ý¦³¨S¦³¨ä¥L¿ìªk¡H<¥Ø«e¬O¥ÎHHH¥N´À>

¦pªþ¹Ï


°Ó¼Æ¾l¼Æ¹ïÀ³.zip (28.28 KB)

  ¦h°µ¦h·Q¦h¾Ç²ß¡A¤Ö¬Ý¤Ö¿ù¤Ö°g³~

  ¦h°µ=¦h¦h½m²ß¡A¦h¦h½s¼g¡C
  ¦h·Q=·Q·Q¬°¤°»ò¤H®aµ{¦¡­n¨º¼Ë¼g¡A¦pªG´«¦¨¦Û¤v¡A¤S·|«ç¼g¡C
  ¦h¾Ç²ß=¾Ç²ß¤H®aªºµo°Ý¨Ã¸Ñµª¡A¾Ç²ß¤H®aªº¼gªk

  ¤Ö¬Ý=¥u¬Ý¤£°µ¤]ªPµM

¦^´_ 1# mark15jill
  1. Sub owg()
  2.     Dim CtrTemp, AtrTemp As String
  3.     kk = 1
  4.     For wgo = 1 To 1102
  5.         mm = wgo / 10  '°Ó
  6.         gg = wgo Mod 10  '¾l¼Æ
  7.         Cells(wgo, "M") = mm
  8.         Cells(wgo, "N") = gg
  9.         yy = InStr(Cells(wgo, "M"), ".")
  10.         If InStr(Cells(wgo, "M"), ".") >= 1 Then Cells(wgo, "M") = Mid(Cells(wgo, "M"), 1, yy - 1)
  11.         AtrTemp = IIf(AtrTemp = "", "", AtrTemp & "&:&") & Cells(wgo, "A")
  12.         Cells(1, "P") = AtrTemp
  13.         kk = kk + 1  '³okk¬O¦ó¥Î³~??
  14.     Next
  15. End Sub
½Æ»s¥N½X
·P®¦ªº¤ß......(¦b³Â»¶®a±Ú°Q½×°Ï.¥Î¤ß¾Ç²ß·|¦³¶i¨Bªº)
¦ý¸ê·½µL­­,«á´©¦³­­,  ¤@¤Ñ1¤¸ªºÃÙ§U,¤H¤H¦³¯à¤O.

TOP

¥»©«³Ì«á¥Ñ mark15jill ©ó 2013-4-19 08:13 ½s¿è
¦^´_  mark15jill
GBKEE µoªí©ó 2013-4-18 17:57



GBKEE¤j¤j
ÁÂÁ±zªº«ü¾É
­ì¥ýkk ¬O­nÅý ²£¥Í¥X¨Óªº­È¦bPÄæ ¨Ì§Ç¤U¨Ó P1 P2~~
¥t¥~
·Q±N²£¥Í¥X¨Óªº­È ¨Ì·Ó°Ó¼Æ °µ³s±µ »Ý­n­×§ï­þÃä¡H  ¥Ø«e¥u·|²£¥Í¦bP1 ªºÀx¦s®æ
¨Ò¦p
P1 = A1 & A2~~~ &A10
P2 = A11 & A12~~~ &A20
P3=A21 & A22 ~~~ & A30

  ¦h°µ¦h·Q¦h¾Ç²ß¡A¤Ö¬Ý¤Ö¿ù¤Ö°g³~

  ¦h°µ=¦h¦h½m²ß¡A¦h¦h½s¼g¡C
  ¦h·Q=·Q·Q¬°¤°»ò¤H®aµ{¦¡­n¨º¼Ë¼g¡A¦pªG´«¦¨¦Û¤v¡A¤S·|«ç¼g¡C
  ¦h¾Ç²ß=¾Ç²ß¤H®aªºµo°Ý¨Ã¸Ñµª¡A¾Ç²ß¤H®aªº¼gªk

  ¤Ö¬Ý=¥u¬Ý¤£°µ¤]ªPµM

TOP

¦^´_ 3# mark15jill
  1. Sub ex()
  2. Do Until r > [A1].End(xlDown).Row  '¸ê®Æ½d³ò°j°é
  3.    Do Until i = 10 Or r > [A1].End(xlDown).Row  '°õ¦æ10¦¸©Î¶W¹L¸ê®Æ½d³ò¸õÂ÷°j°é
  4.       i = i + 1 '­pºâ°j°é¼Æ
  5.       r = r + 1 '©¹¤U¤@¦C
  6.       mystr = IIf(mystr = "", Cells(r, 1), mystr & "HHH:HHH" & Cells(r, 1)) '°O¿ýAÄæ
  7.    Loop
  8.    Cells(Int((r + 1) / 10), "P") = mystr 'PÄæ¼g¤J­È
  9.    mystr = "" '¦r¦ê²MªÅ
  10.    i = 0 '°j°é°_©l­ÈÂk¹s
  11. Loop
  12. End Sub
½Æ»s¥N½X
¾Ç®üµL²P_¤£®¢¤U°Ý

TOP

¦^´_  mark15jill
Hsieh µoªí©ó 2013-4-19 11:01





    Hsieh ÁÂÁ±z¡C¤p§Ì¨Ó¥Î¬Ý¬Ý¡C

  ¦h°µ¦h·Q¦h¾Ç²ß¡A¤Ö¬Ý¤Ö¿ù¤Ö°g³~

  ¦h°µ=¦h¦h½m²ß¡A¦h¦h½s¼g¡C
  ¦h·Q=·Q·Q¬°¤°»ò¤H®aµ{¦¡­n¨º¼Ë¼g¡A¦pªG´«¦¨¦Û¤v¡A¤S·|«ç¼g¡C
  ¦h¾Ç²ß=¾Ç²ß¤H®aªºµo°Ý¨Ã¸Ñµª¡A¾Ç²ß¤H®aªº¼gªk

  ¤Ö¬Ý=¥u¬Ý¤£°µ¤]ªPµM

TOP

        ÀR«ä¦Û¦b : ¡i®É¶¡µLªk¾B¾×¡j©È®É¶¡®ø³u¡Aªá¤F³\¦h¤ß¦å¡A·QºÉ¦U¦¡¤èªk­n¾B¾×®É¶¡¡Aµ²ªG¬O¡G®ö¶O¤F§ó¦h®É¶¡¡A¥B¤@µL©Ò¦¨¡I
ªð¦^¦Cªí ¤W¤@¥DÃD