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

[µo°Ý] ½Ð­×¥¿Sheets("Sheet1")§ïÅܮ榡«áªº»yªk¡C

[µo°Ý] ½Ð­×¥¿Sheets("Sheet1")§ïÅܮ榡«áªº»yªk¡C

¥»©«³Ì«á¥Ñ ziv976688 ©ó 2021-10-11 05:55 ½s¿è

°Ñ¦Òªþ¥ó : TEST_1011.rar (248.88 KB)
Sheets("Sheet1")ªºC2¡GAY21§ï¦¨¥Ø«eªº®æ¦¡~
½Ð°Ý¡G¤U¦C¬õ¦â¦rÃCªºµ{¦¡½X­n¦p¦ó­×¥¿¡H
§Ú¸Õ§ï³\¤[Á`¬O¸õ®t1¦C
'=================================¦C137
    .Range("c2:ay21").ClearContents
    Crr = .Range("c2:ay9"): Arr = .Range("c37:ay" & R): n = 0
    cR = Array("", 1, 2, 3, 6, 7, 8)   '¦C140
    For ci = 1 To UBound(cR) + 2: For cj = 1 To UBound(Crr, 2)
        For ai = ci To UBound(Arr) Step 17
            If Arr(ai, cj) = "" Then GoTo 97
            Crr(ci, cj) = Crr(ci, cj) + Arr(ai, cj)
97:     Next ai: n = 0
    Next cj: Next ci
    .[c2].Resize(UBound(Crr), UBound(Crr, 2)) = Crr

    Crr = .Range("c13:ay20"): cR = Array("", 1, 2, 3, 6, 7, 8)    '¦C149
    For ci = 1 To UBound(cR) + 2: For cj = 1 To UBound(Crr, 2)
        For ai = ci To UBound(Arr) Step 17
            If Arr(ai, cj) = "" Then GoTo 98
            n = n + 1: Crr(ci, cj) = n
98:     Next ai: n = 0
    Next cj: Next ci
    .[c13].Resize(UBound(Crr), UBound(Crr, 2)) = Crr


¥H¤W  Àµ½Ð½ç±Ð¡I  ÁÂÁ¡I

¦^´_ 22# samwang
©Ó±z­@¤ß«ü¾É~·P®¦
¥½¾Ç©|«Ý§V¤O¤¤

TOP

¦^´_ 21# ziv976688

¤w¦^ÂСAµo²{±z¤w­×§ï´X¥G§Ö§¹¦¨¤F¡A«Ü´Î¥[ªo¡AÁÂÁ¡C

TOP

¥»©«³Ì«á¥Ñ ziv976688 ©ó 2021-10-14 04:32 ½s¿è

¦^´_ 18# samwang
¤£¦n·N«ä¡A¥½¾Ç¦Û¦æ­×§ï"¦h´Á"ªºµ{¦¡½X~§ï¨ì¥b©]³£¨S¦³¦¨¥\ ¡F
©Ò¥Hı±oSheets("Sheet1")ÁÙ¬O¥²¶·§ó°Ê"B36"µ¥¥H¤Uªº"ªíÀY"®æ¦¡¡A¥H§Q¤é«á¯à¦Û¦æºûÅ@~
­Õ¦³µ¹±z¼W²K·ÐÂZ¤§³B~©|½Ð±z¨£½Ì !

¬°ÁקK¤£¦Pªº»Ý¨D©ñ¦b¦PÃD¡A¦Ó¾É­P°ÝÃD²V²c~¦A¥t¶}ÃD´£°Ý¦p¤U :
    http://forum.twbts.com/thread-23412-1-1.html
Àµ½Ð½ç¥¿~ÁÂÁ±z

TOP

¦^´_ 18# samwang
sanwang¤j¤j¡G
´ú¸Õ¦¨¥\
ÁÂÁ±zªº­@¤ß©M«ü¾É©M¼ö¤ßÀ°¦£~·P®¦

PS¡G
¦]¬°¥H1Fªº½d¨Ò§@»¡©ú¡A¤ñ¸û²³æ©úÁA¡A¦Ó¥B1F½d¨Òªº¶Qµ{¦¡½X¦³¸õ17¦C«á~
¦p¬OªÅ¥Õ´N¤£¦A²Î­p¨ÃÂ÷¶}µ{¦¡=>§Y=³æ´Á¡A¦p¦³¼Æ¦r´NÄ~Äò²Î­p=>§Y=¦h´Á¡F
©Ò¥H¥½¾Ç¤~¤@ª½±j½Õ¥H1Fªºªþ¥ó§@»¡©úªº½d¨Ò~
³y¦¨±zªº§xÂZ~©|½Ð±z¨£½Ì~ÁÂÁ±z

TOP

¥»©«³Ì«á¥Ñ ziv976688 ©ó 2021-10-13 17:13 ½s¿è

¦^´_ 17# ML089
°Ñ¦Òªþ¥ó¡G TEST_1013_V1.rar (253.79 KB)
ª©¤j¡G
¤£¦n·N«ä¡A¦C17©M¦C20ÁÙ¦³¤@ÂI¤pBUG~
´ú¸Õµ²ªG¡G
EX¡G7S«e3¤j&¤p_0_1902´Á_100_1894-10+1887-10_1¦¸-(Ans.¤ñ¹ï)~
¦C17¬OªÅ¥Õ¦C~¤£À³¸Ó¦³¼Æ¦r¡A¦ý¥Ø«eE17<>""¡F¦Ó¬O=1~µª®×¸Ô¦p¡GBF17
¦C20¬O¤T¤p~À³¦³ªº¼Æ¦r³£¨S¦³Åã¥Ü¥X¨Ó~µª®×¸Ô¦p¡GBO20¡GCZ20
¨ä¾l7S---_1901-10+1899---(Ans.¤ñ¹ï)¡F7S---_1901-10+1900---(Ans.¤ñ¹ï)¡KÃþ±À

¦]¬°C18¡GAY19³£¥¿½T~©Ò¥H§Ú¹ê¦b¤£ª¾¹D¦C156ªºµ{¦¡½X­n«ç»ò½Õ¾ã¡H
If ci < 6 Then ai = aii Else ai = aii ¡V 1 '¦C156

¥H¤W  Àµ½Ð½ç¥¿¡I  ÁÂÁ±z

PS :
1_¬O¤£¬O¥²¶·½Õ¾ã¦C37¥H¤Uªº®æ¦¡~¦pªG»Ý­n~½Ð§iª¾¡C
2_¦pªG»Ý­n½Õ¾ã¦C37¥H¤U~®e§Ú«ä¦Ò¤@¤U(¦]¬°¦C44~¦C51¥i¯à¤w¸g¤£»Ý­n¤F)¡C
ÁÂÁ±z

TOP

¦^´_ 13# ziv976688


§AÁ¿ªº¨S¿ù #8¦³°ÝÃD¡A°ÝÃD¬Oµ²ªGªº¸ê®Æ¨S²M°£°®²b¡A¾É­P²Ä1­Ó¨S°ÝÃD¡A²Ä2­Ó´N¿ù»~¡A
¥t¥~¡A³Q³æ´Á©M¦h´Á©w¸q·d¶Ã¡A¾É­P....¡A¤w§ó¥¿³æ¯Â¥Î#1»Ý¨D¥h¼g¡A½Ð¦A´ú¸Õ¬Ý¬Ý¡AÁÂÁ   

PS: ¦p±z´£¨ì¤S­ìµ{¦¡¤p­×§ï´N¥i¥H²Å¦X#1»Ý¨D¡A¦³®É­Ô·Q¤Ó¦h¡A¸£µ¬¥´µ².....

7S_·j´M(²Î)¦rÀÉ(¥DÀÉ)_1013.zip (46.36 KB)

TOP

¦^´_ 15# ziv976688

If ci < 6 Then ai = aii Else ai = aii + 1
¦³2³B­n§ï¬°
If ci < 6 Then ai = aii Else ai = aii - 1

­n¹ï±µ 37 38 39 41 42 43
CR = Array(1, 2, 3, 6, 7, 8) ªº¦ì¸m¹ïÀ³¬O CÄæ¦ìªº ¦C 2 3 4 7 8 9 ¸ê®Æ
CÄæ¦ìªº ¦C 37 38 39 41 42 43ªº¦ì¸m¹ïÀ³¶¶§Ç¬O  Array(1, 2, 3, 5, 6, 7)
¥i¨£¦³»~®t
{...} ªí¥Ü»Ý­n¥Î CTRL+SHIFT+ENTER ¤TÁä¿é¤J¤½¦¡

TOP

¦^´_ 11# ziv976688


¬°¤°»Ý¨Dµ²ªG¤£¤@¼Ë? ¦³®É­Ô­nÅã¥Ü³æ´Á¦³®É­Ô­n«Ü¦h´Á¼Æ?

1.PNG (78.96 KB)

1.PNG

TOP

¦^´_ 12# ML089
ª©¤j : ÁÂÁ±z
¸Ô¦pªþ¥ó¡G TEST_1013.rar (258.1 KB)
½Ð¸Ô¨£ : 7S«e3¤j&¤p_0_1902´Á_100_1894-10+1887-10_1¦¸-(Ans.¤ñ¹ï)~¦³¤ñ¹ïµª®×ªº¹Ï¥Ü¡C
PS¡G¾Þ§@»¡©ú~
½Ð¶}±Ò7S_·j´M(²Î)¦rÀÉ(¥DÀÉ)_1013==>ÂI«ö°õ¦æÁä==>§Y¥i²£¥Í3­Ó®ÄªGÀÉ~
µª®×»P3­Ó(Ans.¤ñ¹ï)Àɮתº A1¡GAY51¬Û¦P¡C

¥H¤W  Àµ½Ð½ç¥¿¡I  ÁÂÁ±z¡I

TOP

        ÀR«ä¦Û¦b : «Ý¤H°h¤@¨B¡A·R¤H¼e¤@¤o¡A´N·|¬¡±o«Ü§Ö¼Ö¡C
ªð¦^¦Cªí ¤W¤@¥DÃD