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

[µo°Ý] vbaªº¿z¿ï¥\¯à (¨ú®ø³¡¤À¿z¿ï)

¦^´_ 33# wei9133

#33
¦³2³õ¤@¼Ë(³Ó²vÄ欰"ªÅ","ªÅ")¦X¨Ö³Ó²v¬°1
¥u¦³1³õ(³Ó²vÄ欰"ªÅ")³Ó²v¬°"ªÅ"

´XºØª¬ªp¦p¦ó­pºâ
2³õ(³Ó²v¬°"3","ªÅ")¦X¨Ö³Ó²v??(¬O§_¬°4)
3³õ(³Ó²v¬°"3","ªÅ","ªÅ")¦X¨Ö³Ó²v??(¬O§_¬°4)
3³õ(³Ó²v¬°"ªÅ","ªÅ","ªÅ")¦X¨Ö³Ó²v??(¬O§_¬°1)
3³õ(³Ó²v¬°"3","1","ªÅ")¦X¨Ö³Ó²v??(¬O§_¬°5)
4³õ(³Ó²v¬°"ªÅ","3","1","ªÅ")¦X¨Ö³Ó²v??(¬O§_¬°5)
¥u¦³¤@³õ¬O§_³Ó²vÄæ¦ì³£¤£ÅÜ
¦h³õªº¥u­n³Ó²v¬°ªÅªº¤£ºÞ´X³õ³£¥uºâ1³õ³Ó³õ,¨ä¾l³Ó²vÄ榳­Èªºª½±µ²Ö¥[­È

TOP

¦^´_  wei9133

§A§â jcchiang«e½úªº ¥H¤U³o¬q§ï¤@¤U ¬Ý¬Ý ¬O¤£¬O§A­nªºµ²ªG

Sub ex3()
Dim d As Ob ...
°a¤ªºµ µoªí©ó 2020-10-21 21:56

§A¦n
¦]¬°´ú¸Õ§¹
³Ó²v¨º®æµL½×¬OªÅÁÙ¬O1³£·|³Qµø¬°1¡A¦ý¹ê»Ú¤WÀ³¸Ó¬OªÅ¬°1¡A¼g1¹ê»ÚÀ³¬°2 (­n³Q¦X¨Öªºª¬ªp¤U)
¦Ó¤£³Q¦X¨Öªºª¬ªp¤UªÅ´N¬OªÅ¡A¸Ó®æ¤£À³¦³­È (¦]¬°¸Ó¦C¦Û¤v´N¬O1)
©Ò¥H¥uµù¸Ñ±¼°j°é¥[1ªº³¡¤ÀÁÙ¬O¨S¥Îªº
³Ó²v¨º®æ¦³­Èªº¥¿½T¤F¡AªÅªº´N·|¦³°ÝÃD¡A¤Ï¤§¥çµM
©Ò¥H§A§ïªº³o¼ËÁÙ¬O¤£¤Ó¹ï
·PÁ§A¤F

TOP

¦^´_ 31# jcchiang

30Fªº½T¬O§Úºâ¿ù¤F
¤O¶q­^¶¯À³¸Ó¬O4

(#23¼Ó:¦Ó³Ó³õ³¡¥÷ªº­È«h¤À§O¬°3¡BªÅ®æ¡B1¡A±Ñ³õªº­È«h¬°1¡BªÅ®æ¡BªÅ®æ
  ºâ¥X¨Ó¦X¨Öªº³Ó³õÄæ¦ìÀ³¬°"6"¡A±Ñ³õ«h¬°"1"
   ºâªk¬O³o¼Ëªº¡A°²³]3¨º®æ«O¯d¡A¦ÓªÅ®æ¥Nªí³Ó1³õ¡A³Ó³õ¶ñ¤J1ªº¹ê»Ú¤W¬O"·í¦C"¥["³Ó1³õ"
   ©Ò¥H¥[¥X¨Ó¬O"6")

²Ä¤G¬qªº³¡¤À§Aªº²z¸Ñ¬O¹ïªº

³Ó³õ(3,ªÅ,1)=6,¦pªG¥HªÅ¬°1,¹ê»Ú¤]¬O5,¦hªº1³õ¤£´N¬O¦Ó¥~¼W¥[ªº¶Ü??
³o­Ó¨ä¹ê§Ú¨S¬ÝÀ´

§Ú³o¼Ë¬Ý§A¯à¤£¯à²z¸Ñ
¬ö¿ý¥X¨Óªº·í¦C¡A¥»¨­´N¥Nªí¨º¦¸ªº³Ó³õ¡A·í§Ú²Î­p¨ì¤@¼Ò¤@¼Ëªº¹ï¾Ô¡A´N¦b³Ó³õ³B+1
©Ò¥H¨C¤@¦C³£¥Nªí¤F1¡A¦Ó³Ó³õ¬O¥t¥~¥[¤W¥hªº¡A¤~·|Åܦ¨³B²z¨ì¸Ó®æ­Y¸Ó®æ¦³­È­n+1¤W¥h
³Ó²v¨º®æ­YµL¥t¥~ªº¼Æ­È¡A¾ã¦Cµø¬°1

===================¤À¹j½u======================
§Ú®³¤F§A¦b28F´£¨Ñªºµ{¦¡½X¤U¥h°õ¦æ
¹Ï1

¹Ï¤@ªº²Ä¤@¸ò²Ä¤G¦C³Ó²vÄæ¦ì³£¬O0¡A¥Nªí¦U¦Û·í¦Cªº³Ó³õ¡A¦Ó³o¨â­Óµ²ºc³£¤@¼Ë
©Ò¥H¹B¦æ¥X¨ÓÀ³¸Ó¬O
¦X¨Ö°_¨Ó¡A³Ó²v¼g1  (¹ê»Ú¤W¬OĹ2³õ¨S¿ù¡A¦ý¦Û¤v³o¤@¦C´N¥Nªí¤F¤@³õ¡A©Ò¥H³Ó²v¨º®æ¥u·|¼g1)
²Ä¤T¦æ¬O¿W¦Û¦Û¤v¤@­Ó¡A¨S¦³¬Û¦P¦C¡A©Ò¥H´N¥u¦³«O¯d¡A¦Ü©ó³Ó²v¦]¬°¸Ó®æ¬O0¡A¥B¥u¦³¥¦¦Û¤v¡A©Ò¥HÀ³¸Ó¯dªÅ
§Ú·Q°õ¦æ¥X¨Óªºµ²ªG
¹Ï2

===============================================
¹ê»Ú°õ¦æ¥X¨Óªºµ²ªG
¹Ï3

§Ú°õ¦æªºµ²ªG¥X¨Ó·Pı¬O¡A³Ó²v¨º®æµL½×¬OªÅÁÙ¬O1³£·|³Qµø¬°1
¦ý¹ê»Ú¤WÀ³¸Ó¬O¸Ó¦Cµ¥©ó1¡A³Ó²v¨º®æ­Y¦³¼Æ¦r¡A
¥B¸Ó¦C­n³Q¨Ö¨ì¥t¤@¦Cªº¸Ü¡A´N­n¥H¸Ó®æ¼Æ¦r¥[¤W¦Û¤v³o¤@¦C¥Nªíªº1

¦Ó¬O³Ó²v¨º®æ¬OªÅ­È¥BµL¬Û¦P¦C¥i¦X¨Öªº¡A«O¯d¸Ó¦C¡A³Ó²v¨º®æ¤]´NÁÙ¬O0
(¦]¬°Ä¹ªº¨ÌÂÂ¥u¦³¤@³õ¡A¦Ó¨º³õ´N¬O¸Ó¦C¥»¨­)

==============================================
­Y³o¼Ë¯uªº«ÜÃø³Q²z¸Ñªº¸Ü¡A§Ú¥i¥H§ïÅܲέp¤è¦¡
¾ã¦C¤£¥Nªí¥ô¦ó¼Æ¦r¡AĹªº¦¸¼Æ¥þ¼g¦b³Ó²v¨ºùØ
³o­Ó²Õ¦XŤ@¦¸´N¼g1¡AŨ⦸´N¼g2
³o¼Ë´N¤£·|¦³­n­pºâ¥»¨­¦C¬°1ªº°ÝÃD¤F

§Aªº¾ã­Óµ{¦¡§Ú¦A¬ã¨s¬Ý¬Ý­n§ï­þ¸Ì¤~·|²Å¦X§Úªº»Ý¨D
·PÁ¨â¦ì

¹Ï1.png (16.24 KB)

¹Ï1.png

TOP

¦^´_ 30# wei9133

§A§â jcchiang«e½úªº ¥H¤U³o¬q§ï¤@¤U ¬Ý¬Ý ¬O¤£¬O§A­nªºµ²ªG

Sub ex3()
Dim d As Object, ar As Object, r
Dim i%, AA$, a
Application.ScreenUpdating = False
Set d = CreateObject("Scripting.Dictionary")
Set ar = Sheets(1).[a1].CurrentRegion

For i = 1 To ar.Rows.Count
   AA = Join(Application.Transpose(Application.Transpose(ar(i, 1).Resize(, 102))), ",") & "," & ar(i, 106) '«Ø¥ß§PÂ_±ø¥ó
   If Not d.exists(AA) Then   '¦r¨å¤º¬dµL¸Ó±ø¥ó
      a = Application.Transpose(Application.Transpose(ar(i, 1).Resize(, 115)))
      If a(103) = "" Then a(103) = 1 '³Ó³õªÅ¥Õ¶ñ¤J1
      d(AA) = a '±N¸ê®Æ©ñ¦^¦r¨å
   Else
      a = Application.Transpose(Application.Transpose(d(AA)))   '±N¦r¨å¸ê®Æ¨ú¥X
      If ar(i, 103) = "" Then a(103) = a(103) + 1 Else a(103) = a(103) + ar(i, 103) '³Ó³õªÅ¥Õ³Ó³õ²Ö¥[1,¤£¬OªÅ¥Õ«h±NÄæ¦ì­È¬Û¥[
      a(105) = a(105) + ar(i, 105) '±Ñ§½²Ö¥[
      For Each r In Array(104, 107, 109, 115) '±N³Æµù,DC,DE,DKÄæ¦ì¸ê®Æ¦X¨Ö
         If a(r) <> "" And ar(i, r) <> "" Then '¦pªG¦r¨å»PÄæ¦ì³£¦³¸ê®Æ,¨Ï¥Î","¬Û³s
            a(r) = a(r) & "," & ar(i, r)
         ElseIf a(r) = "" And ar(i, r) <> "" Then '¦pªG¦r¨å¸ê®Æ¬°ªÅ¥Õ,Äæ¦ì¬O¦³¸ê®Æªº,¨Ï¥ÎÄæ¦ì¸ê®Æ
            a(r) = ar(i, r)
         End If
      Next
      d(AA) = a   '±N¸ê®Æ©ñ¦^¦r¨å
   End If
Next
With Sheets(2)  '¦b²Ä¤G­ÓSheet¶ñ¤J¸ê®Æ
.[a1].CurrentRegion.Clear '²M°£Sheet¸ê®Æ
.[a1].Resize(d.Count, 115) = Application.Transpose(Application.Transpose(d.items)) '±N¦r¨å¸ê®Æ¦C¥X
'For Each r In .Range(.[cy2], .[cy2].End(4))  '«O¯d³Ó³õ+1
'   r.Value = r.Value + 1
'Next

End With
Set d = Nothing
Application.ScreenUpdating = True
End Sub

TOP

¦^´_ 29# wei9133

³Ó²v­pºâ¬O§_¬°¨S¦³­«½Æªº´N¤£¦h¥[1³õ¶Ü??
¦]¬°§Aªº³Ó³õºâªk³£¤£¤@¼Ë
¥H§A¦b#30¼Óªº¶K¹Ï
¤HÃþ4³õ³Ó²v¬°(1,2,ªÅ,ªÅ),³Ó²vÀ³¬°1+2+1+1=5«O¯d¦A¥[1,©Ò¥H¬°6
¦ý¤O¶q­^¶¯2³õ³Ó²v¬°(ªÅ,3),³Ó²vÀ³¬°1+3=4«O¯d¦A¥[1,©Ò¥H¬°5,¦ýµ¹ªº¥¿½T³Ó²v«o¬°3

(#23¼Ó:¦Ó³Ó³õ³¡¥÷ªº­È«h¤À§O¬°3¡BªÅ®æ¡B1¡A±Ñ³õªº­È«h¬°1¡BªÅ®æ¡BªÅ®æ
  ºâ¥X¨Ó¦X¨Öªº³Ó³õÄæ¦ìÀ³¬°"6"¡A±Ñ³õ«h¬°"1"
   ºâªk¬O³o¼Ëªº¡A°²³]3¨º®æ«O¯d¡A¦ÓªÅ®æ¥Nªí³Ó1³õ¡A³Ó³õ¶ñ¤J1ªº¹ê»Ú¤W¬O"·í¦C"¥["³Ó1³õ"
   ©Ò¥H¥[¥X¨Ó¬O"6")
³Ó³õ(3,ªÅ,1)=6,¦pªG¥HªÅ¬°1,¹ê»Ú¤]¬O5,¦hªº1³õ¤£´N¬O¦Ó¥~¼W¥[ªº¶Ü??

¥t¥~¸ê®Æ©ñ¸m¨ä¥LSheet¬O¤£¥h§ïÅܭ즳¸ê®Æ¥H«KÅçÃÒ,¦Ó¥Bµ{¦¡µù¸Ñ¤]¦³¼g©ñ¸m©ó²Ä¤G­ÓSheet
¦p­n§ï©ñ©ó¨ä¥L¦ì¸m©Î°µªk,µ{¦¡¤¤³£¦³µù¸Ñ,½Ð¦Û¦æ·L½Õ,ÁÂÁÂ!!

TOP

¦^´_ 27# °a¤ªºµ
§A¦n
ª½±µ°õ¦æ§Aªºªþ¥ó¡A³Ó²vªº½T·|¼W¥[
¥H§R°£¤U­±´X¦æ¡A¶È½Æ»s2~3¦æ°µ°Æ¥»¡A¶K¦b5~6¦æ
°õ¦æ¤£·|¹B§@(ÃhºÃ¬O¦]¬°§ÚªÅ¦æ¤F)
¹Ï1

¨Ã¥B¦b§Aªì©lªºÀɮפ¤¡A°õ¦æ«á¨Ã¥¼¦X¨Ö¡A¦Ó¬Oª½±µ¥[¤W³Ó²v(³õ)

¹Ï2
ªì©l

¹Ï3
°õ¦æ«á

¥¿½TÀ³¸Ó¬O
¹Ï4

TOP

¦^´_ 28# jcchiang

§A¦n
¥ý¥H5®æ¬°°ò·Çª½±µ°õ¦æ
¸g´ú¸Õ¡A³Ó²v³¡¤À¤£ºÞ¦³¨S¦³­«½Æ³£·|ª½±µ+1¤W¥h
¹Ï¤@
(­ì©l¸ê®Æ)
¹Ï¤G
(²£¥X¸ê®Æ)

³Ó²v³o®æ¦³°ÝÃDªº¼Ë¤l
§ÚÁ`¦@¥H5®æ°µ´ú¸Õ¡A1~5®æ½Æ»s¤@¥÷©ñ¦b¤U­±¦C¤¤¡A¶È§ó§ï¬P¶H³¡¤À
¥X¨Óµ²ªG¬O¿ù»~ªº
¹Ï¤T
(­ì©l¸ê®Æ)
¹Ï¥|
(²£¥X¸ê®Æ)

¥¿½TÀ³¸Ó¬°
¹Ï5



¥t¥~¡A¤§«e­n­×¥¿«á¸ê®Æ©ñ¶isheet2¤º¥»¨Ó´N¬O¬°¤F¤ñ¹ïµ{¦¡¬O§_°õ¦æ¥¿½T
³o¦¸¤]¬O¦hÁ«¤F³oÂI¤~¯à¬Ý¥X¥[Á`ªº³¡¤À¤£¹ï
¦Ó§Úªº²Ä¤G¦ì¸m¬¡­¶Ã¯¨ä¹ê¬O¦³¨ä¥L¸ê®Æªº¡A³o¼Ë´Nª½±µ§â¸ê®Æ¥þ»\¹L¥h¤F
¥i¥H³Â·Ð§ï¦¨½Æ»s¤@¥÷·í«e(sheet)°õ¦æµ{¦¡ªº°Æ¥»¡AµM«áª½±µ¦b°õ¦æ¬¡­¶Ã¯¤¤±N­«½Æ¦C§R°£¥[Á`?
(«Ø¥ß°Æ¥»§@¬°³Æ¥÷¡Aª½±µ¦b»Ý­n¹B¦æªº¬¡­¶Ã¯¤º°µ§R°£¡A­YµLªk
§Ú·Q¨ìªº¬O°õ¦æ«á§â¥Ø«eªºsheet1§R°£¡Asheet2§ï¦W¦¨sheet1¦Ó¤w)

½Æ»s°Æ¥»ªº«ü¥O¥i¥Hªº¸ÜÀ°§Ú¥[µù¸Ñ¡A½T»{µ{¦¡³£¥¿±`¹B¦æ¤§«á´N¤£»Ý­n°µ°Æ¥»¤F
¦]¬°°Æ¥»¥»¨Ó´N¬O¬°¤FÅçÃÒ¬O§_¥¿½T°õ¦æ¦Ó¦s¦bªº
·PÁÂ

TOP

¦^´_ 26# wei9133

¸ê®Æ§ï©ñ¸m©ó²Ä¤G­ÓSheet
Sub ex3()
Dim d As Object, ar As Object, r
Dim i%, AA$, a
Application.ScreenUpdating = False
Set d = CreateObject("Scripting.Dictionary")
Set ar = Sheets("¹ï¾Ô²Î­p").[a1].CurrentRegion

For i = 1 To ar.Rows.Count
   AA = Join(Application.Transpose(Application.Transpose(ar(i, 1).Resize(, 102))), ",") & "," & ar(i, 106) '«Ø¥ß§PÂ_±ø¥ó
   If Not d.exists(AA) Then   '¦r¨å¤º¬dµL¸Ó±ø¥ó
      a = Application.Transpose(Application.Transpose(ar(i, 1).Resize(, 115)))
      If a(103) = "" Then a(103) = 1 '³Ó³õªÅ¥Õ¶ñ¤J1
      d(AA) = a '±N¸ê®Æ©ñ¦^¦r¨å
   Else
      a = Application.Transpose(Application.Transpose(d(AA)))   '±N¦r¨å¸ê®Æ¨ú¥X
      If ar(i, 103) = "" Then a(103) = a(103) + 1 Else a(103) = a(103) + ar(i, 103) '³Ó³õªÅ¥Õ³Ó³õ²Ö¥[1,¤£¬OªÅ¥Õ«h±NÄæ¦ì­È¬Û¥[
      a(105) = a(105) + ar(i, 105) '±Ñ§½²Ö¥[
      For Each r In Array(104, 107, 109, 115) '±N³Æµù,DC,DE,DKÄæ¦ì¸ê®Æ¦X¨Ö
         If a(r) <> "" And ar(i, r) <> "" Then '¦pªG¦r¨å»PÄæ¦ì³£¦³¸ê®Æ,¨Ï¥Î","¬Û³s
            a(r) = a(r) & "," & ar(i, r)
         ElseIf a(r) = "" And ar(i, r) <> "" Then '¦pªG¦r¨å¸ê®Æ¬°ªÅ¥Õ,Äæ¦ì¬O¦³¸ê®Æªº,¨Ï¥ÎÄæ¦ì¸ê®Æ
            a(r) = ar(i, r)
         End If
      Next
      d(AA) = a   '±N¸ê®Æ©ñ¦^¦r¨å
   End If
Next
With Sheets(2)  '¦b²Ä¤G­ÓSheet¶ñ¤J¸ê®Æ
.[a1].CurrentRegion.Clear '²M°£Sheet¸ê®Æ
.[a1].Resize(d.Count, 115) = Application.Transpose(Application.Transpose(d.items)) '±N¦r¨å¸ê®Æ¦C¥X
For Each r In .Range(.[cy2], .[cy2].End(4))  '«O¯d³Ó³õ+1
   r.Value = r.Value + 1
Next
End With
Set d = Nothing
Application.ScreenUpdating = True
End Sub

TOP

¦^´_ 26# wei9133

¦³ªÅ¬Ý¤@¤U ¤£ª¾¹D¬O¤£¬O§A­nªº  

javascript:;

¹ï¾Ô²Î­p - ½Æ»s1019.rar (23.49 KB)

TOP

¦^´_ 24# jcchiang

¦^´_ 24# jcchiang

¨â¦ì¦n
­º¥ý¥ý·PÁ¤G¦ìªá®É¶¡À°§Ú·Q¿ìªk

¦Ü©óªÅ¶¡ªº³¡¤À
§Ú­«·s´«­ÓªÅ¶¡
googl
https://drive.google.com/file/d/1VFZMILovCRpQT6AGyaAd8ZNb9VAZSFlO/view?usp=sharing
onedrive
https://1drv.ms/u/s!Amaq2OY73W7WiSHXDt88TA7rsUgC?e=BmwuJh

ªþ¥ó:§Ú¦³¬åªF¦è¦]¬°½×¾Â¥uµ¹1MB¡A¤£¹L¥Î¨Ó²z¸Ñ»Ý¨DÀ³¸Ó°÷
¹ï¾Ô²Î­p - ½Æ»s.rar (666.38 KB)
  1. Sub ex3()
  2. Dim d As Object, ar As Object, r As Object
  3. Dim i%, AA$, a

  4. Set d = CreateObject("Scripting.Dictionary")
  5. Set ar = [A1].CurrentRegion

  6. For i = 1 To ar.Rows.Count
  7.    AA = Join(Application.Transpose(Application.Transpose(ar(i, 1).Resize(, 102))), ",") & "," & ar(i, 106) '«Ø¥ß§PÂ_±ø¥ó
  8.    If ar(i, 103) = "" Then ar(i, 103) = 1 '³Ó³õªÅ¥Õ¶ñ¤J1
  9.    If Not d.exists(AA) Then   '¦r¨å¤º¬dµL¸Ó±ø¥ó
  10.       d(AA) = ar(i, 1).Resize(, 106) '¼W¥[¦r¨å¸ê®Æ
  11.    Else
  12.       a = Application.Transpose(Application.Transpose(d(AA)))   '±N¦r¨å¸ê®Æ¨ú¥X
  13.       a(103) = a(103) + ar(i, 103) '³Ó²v²Ö¥[
  14.       a(104) = a(104) + 1           '³Æµù:¬Û²Åªºµ§¼Æ(¤£¥]§t²Ä¤@µ§)
  15.       a(105) = a(105) + ar(i, 105) '±Ñ§½²Ö¥[
  16.       d(AA) = a   '±N¸ê®Æ©ñ¦^¦r¨å
  17.    End If
  18. Next
  19. [a14000].Resize(d.Count, 106) = Application.Transpose(Application.Transpose(d.items)) '±N¦r¨å¸ê®Æ¦C¥X
  20. For Each r In Range([cw14001], [cw14001].End(4))  '«O¯d³Ó³õ+1
  21.    r.Value = r.Value + 1
  22. Next
  23. Set d = Nothing
  24. End Sub
½Æ»s¥N½X
¦]¬°¥[¤F·s­^¶¯©Ò¥H¦ì¸m¤£¤@¼Ë¤F
§Ú§âµ{¦¡ªº¼Æ¦r³£©¹«á±À¡A¦ý¬O¬Ý°_¨Ó¬O¦³°ÝÃDªº
À³¸Ó¬O¦]¬°«e­±ªº¨S¦³µ¹¹Ï©Ò¥H³o¸Ì·|¦³°ÝÃD
(³Ó¸ò±Ñ¤¤¶¡¦³¤@­Ó³ÆµùÄæ¦ì)




¥[Á`«áÀ³¸ÓÀu¥ý¶ñ¦b³oºØ¦C¤W DC OR DE OR DK¦³­È ¨ä¦¸¬OCZ¦³­È

P.S.
¦b§â¼Æ­È¥[¤W¥h¤§«e¦³Åýµ{¦¡¶]¹L¤@¹M
¤£¹L¸ò¹w­pªº¤@¼Ë¡A®æ¤l¤£¹ï©Ò¥H¬O¦³°ÝÃDªº
¦ýµo²{¦³´X­Ó·Q°Ý°Ý¥i§_Åܧ󪺳¡¤À
¨ä¤@
¥Ø«e¸ê®Æ¤w¦³¤E¤d¦h¦æ¡A©Ò¥H¨ä¹ê¤ñ¹ï¥X¨Ó¸ê®Æ¬O§_¥¿½T§Ú¤]µLªkÅçÃÒ
©Ò¥H¥i§_±N¹B¦æ§¹¦¨«áªºª½±µ²£¥Í¥t¤@­Ó¬¡­¶Ã¯¡A§Úª½±µ¬Ý¨â­Ó¬¡·~諸¦C¼Æ¬O§_¦³®t²§
(·íµMªì©lÅçÃÒ¹B§@ªº®É­Ô¥i¥H¥ý§â©T©wªº¸ê®Æ½Æ»s¦h¦æ¦A¨ì²£¥Íªº¬¡­¶Ã¯¥h¬Ý¬Û¦P¦C¬O§_¦³¥[Á`¤W¥h´Nª¾¹D¤F)
ex.
­ì©l¸ê®Æ(sheet1)9000¦æ¡A²£¥Íªº·s¬¡­¶Ã¯(sheet2)(¤ñ¹ï¹Lªº¸ê®Æ)¡AÅܦ¨8800¡A³o¼Ë´N¥i¥Hª¾¹D½T¹ê¦³Å|¤W¥h¤F
¦A¤H¤u¥h½T»{sheet1¸òsheet2ªº®t²§ÂI´N¥i¥H½T»{µ{¦¡¬O§_¥¿½T

¨ä¤G
°õ¦æªº®É­Ô¬O§_¥i¥[¤W
Application.Calculation = xlCalculationManual 'Ãö³¬¦Û°Ê­pºâ
Application.ScreenUpdating = False 'Ãö³¬¿Ã¹õ¨ê·s
¥þ³¡µ²§ô«á¦A¥[¤W
Application.Calculation = xlCalculationAutomatic '¶}±Ò¦Û°Ê­pºâ
Application.ScreenUpdating = True '¶}±Ò¿Ã¹õ¨ê·s
ÁקKµ{¦¡¤@ª½­«·s­pºâÀx¦s®æ?
(§Ú¥Ø«eµLªk´ú¡A¦]¬°§Ú¤]¤£ª¾¹D¥Ø«eªºµ{¦¡¨ì©³¹ï¤£¹ï)

to °a¤ªºµ
©êºp¤§«e§Ú¨S¦Û¤v¤U¦^¨Ó´ú¹L¡A³o¦¸§Ú¦³¤U¦^¨Ó´ú¹L¤F¡AÀ³¸Ó¥i¥H¥Î¤F
p.s. µLªk¸ÑÀ£¤]¦³¥i¯à¬O¦]¬°rarª©¥»¹L¡A¥i¥H¸Õ¬Ý¬Ý·sª©ªºrar¡A¥Ø«e­Ó¤Hª©¬O§K¶Oªº¡C

¯uªº¨Sªk¤U¸üªº¸Ü¡A§Ú§â²Ä¤@¦C³£©ç¤U¨Ó¤F




¥Ø«e¬O¤ñ¹ïA~CX and DBªø¤@¼Ë
§â¤W­z±ø¥ó¤@¼Ëªº¦CªºCY(³Ó³õ) | DA(±Ñ³õ)  ¥[Á`¶ñ¤J¦P¤@¦C
¦Ü©ó¶ñ¤J­þ¤@¦CÀu¥ý¦Ò¼{   DC OR DE OR DK¦³­È ¨ä¦¸¬OCZ¦³­È

jcchiang©Ò²z¸Ñªº±ø¥ó¬O¹ïªº

Microsoft_Excel_-_¹ï¾Ô²Î­p_-_½Æ»s.xls-2020-10-18-01-49-27.png (23.27 KB)

Microsoft_Excel_-_¹ï¾Ô²Î­p_-_½Æ»s.xls-2020-10-18-01-49-27.png

Microsoft_Excel_-_¹ï¾Ô²Î­p_-_½Æ»s.xls-2020-10-18-01-49-47.png (21.48 KB)

Microsoft_Excel_-_¹ï¾Ô²Î­p_-_½Æ»s.xls-2020-10-18-01-49-47.png

Microsoft_Excel_-_¹ï¾Ô²Î­p_-_½Æ»s.xls-2020-10-18-01-50-04.png (17.54 KB)

Microsoft_Excel_-_¹ï¾Ô²Î­p_-_½Æ»s.xls-2020-10-18-01-50-04.png

TOP

        ÀR«ä¦Û¦b : ¤H¨ÆªºÁ}Ãø»PµZ¿i¡A´N¬O¤@ºØ¦ÒÅç¡C
ªð¦^¦Cªí ¤W¤@¥DÃD