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

[µo°Ý] ½Ð°ÝEXCEL«ç»ò¨ú±o¤u§@ªíªº¼Æ¶q»P¸ê®Æ¦æ¼Æ©O(¸ó¤u§@ªí)!?ÁÂÁÂ

[µo°Ý] ½Ð°ÝEXCEL«ç»ò¨ú±o¤u§@ªíªº¼Æ¶q»P¸ê®Æ¦æ¼Æ©O(¸ó¤u§@ªí)!?ÁÂÁÂ

½Ð°Ý
°ÝÃD1:EXCEL«ç»ò¨ú±o¤u§@ªíªº¼Æ¶q!?
§Ú¦³ªºÀɮצ³n­Ó¤u§@ªí
§Ú»Ý­n¦b²Ä1­¶Åã¥Ün-2­Ó¤u§@ªí(¦©±¼¥Ø¿ý»P«¬¿ý)
­n¥Î¬Æ»ò¤èªk©O!?

¦pªG¦³·s¼W·|§R´î¸ê®Æªí
«h¤u§@ªí¼Æ¶q­n§ó·s

§Ú¤£·|¥ÎVBA..
ª©¥»¬O2003ªº
¦pªG¥Î¨ìVBA½Ð¤j¤j²Ó¤ß±Ð§Ú­n«ç»ò¨Ï¥Î~~


°ÝÃD2:¥H¤U¥\¯à¥h°£«e2­Ó¤u§@ªí(¦©±¼¥Ø¿ý»P«¬¿ý)
§Ú¦b²Ä3¤u§@ªí~«á­±©Ò¦³¤u§@ªí¤¤
¦bB9~¥H¤UµL­­Äæ  ¶ñ¤J¸ê®Æ®É
¦b²Ä1­¶¯àÅã¥Ü¦³¸ê®Æ¦æ¼Æ

¦p¦bB9¶ñ¤F¸ê®Æ²Ä1­¶Åã¥Ü1
B10¦pªG¤]¶ñ¤F«h²Ä1­¶Åã¥Ü2
¦pªG²Ä4­Ó¤u§@ªíB9¤]¶ñ¤F
«hÅã¥Ü3

­n¯à¥h§ìB9Äæ¥H¤U(¥]¬AB9)¦³¸ê®Æ¦æ¦³´X¦æ
¦Ó¥B­n¸ó¤u§@ªí°Oºâ(²Ä3¤u§@ªí&µL½a¤j(¦]¬°¦³®É·|·s¼W¤u§@ªí))
¸ê®Æ·|ÀHµÛ¶ñ¤J¦Ó§ó·s

§Ú¤£·|¥ÎVBA..
ª©¥»¬O2003ªº
¦pªG¥Î¨ìVBA½Ð¤j¤j²Ó¤ß±Ð§Ú­n«ç»ò¨Ï¥Î~~

¤j¤j¦b§Oªº½×¾Â¦³¤H¦³¨Ç¤@¼g¤F
·Q½Ð°Ý¤U­±³o¨Ç¸Ó«ç»ò¿ì©O!?

1.¥i¥H§â"¥Ø¿ý"­pºâ¥\¯à
¼g¦¨"§ó·s¸ê®Æ"ªº«ö¯Ã
»Ý­nÆ[¬Ý®É¤~§ó·s¶Ü!?

2.
¦p§ÚªG·s¼W¤F·sªº¤u§@ªí
B1¶ñ"²±´I"
¬O¤£¬O¥²¶·©ñ¦APC°w¼ÒS¬`¤§¤¤
¤~·|­pºâ¥H¤U¸ê°T©O!?
¼Ò¨ã¼Æ¶q ¥Í²£ªí³æ ºû­×ªí³æ ²§°Ê¬ö¿ýªí³æ
¦]¬°¤u§@ªí²³¦h
§Ú¤~·Q»¡¬O§_¦³IF¤§Ãþªº§PÂ_¦¡¥h§PÂ_«á­±¤u§@ªíB1ªº­È
³o¼Ë¦pªG¦A¥ô·N¦a¤è·s¼W¤~¤ñ¸û¤è«K
¤£µM²¾¤u§@ªíÁÙÆZÀYµhªº..

3.
§Ú·s¼W¤F·sªº¤u§@ªí
B1¬O"²±´I"ªº«È¤á
¬O§_¯à¦Û°Ê¦A¥Ø¿ý²Ä49¦æ
§PÂ_¨º¤@Ä欰"²±´I"
¦A¨ä«á­±¤§ªÅ¥Õ®æ(¦pÀɮתºA68)
¶W³sµ²¨ä·s¼Wªº¤u§@ªí(»P¦WºÙ)
¨Ã¦Û°Ê­pºâ
¥Í²£ªí³æ ºû­×ªí³æ ²§°Ê¬ö¿ýªí³æ
³o¦æ¯à¥Îµ{¦¡½X¥h­pºâ¶Ü!?
¦Û°Ê¶W³sµ²¨ä¥ª¦æ¦WºÙ¤u§@ªíªºH2~H4
ÁÙ¬O¥u¯à¤â°Ê¿é¤J¤½¦¡©O!?

CommandButton1ªº¦r¥i¥H§ï¬°¤¤¤å¶Ü
§Ú§ï¤U­±³o¦æ¦n¹³¨S¥Î...
Private Sub CommandButton1_Click()

PC°w¼Ò¤º¿é¤J¤U¤@µ§¸ê®Æ¤¤
H3»PH4ªºµ{¦¡½X¸Ó¦p¦ó¥´©O!?

A9,I9,O9¦Ü¥H¤U
¥i§_¦]¬°«ö¤FH2~H4
¦Û°Ê²£¥Í±Æ§Ç1.2.3~n©O

PC°w¼Òªºµ{¦¡½X¥i¥H§å¶q½Æ»s©ó~n(¥]¬AªÅ¥Õ®æ¦¡)¶Ü!?
§Ú«öshitft¥L³£¤£²z§Ú- -"

http://www.mediafire.com/?43ca7xv1g40yubi

TOP

¥»©«³Ì«á¥Ñ konkon3141 ©ó 2012-10-31 07:51 ½s¿è

¤j¤j§A¦n
²Ä2¥\¯à­n§ï¤@¤U
§Úªí®æ¦³´«®æ¦¡

2.B46¦Ü¥H¤UBH¦³­­Ä椤
»Ý¶Ç¦^¥ªÃä¤u§@ªí¤¤H2~H4ªº­È
¤£ª¾¹D¦³¿ìªk§å¶q·ÓAÄæ¦WºÙ¶Ç¦^¶Ü?
¦p¦³·s¼W¤u°µªí«hH2~H4­n¯àÅã¥Ü¸ê®Æ¼Æ

6.·s¼W¤u§@ªí«á(·|¦A¥Ø¿ý»PªÅ¥Õ®æ¦¡¤§¤¤)¯à§PÂ_B1­È
µM«á§PÂ_¥Ø¿ý49¦æ
§ä´M¬Û¦PB1­È
¦A¨ä¦æ¦³¼Æ­È«áªºªÅ¥Õ®æ
¦Û°Ê«Ø¥ß¨ä¤u§@ªí¦WºÙ
¨Ã¹ï¦WºÙ¶W³sµ²¦Ü¤u§@ªí
¥Í²£ªí³æ        ºû­×ªí³æ        ²§°Ê¬ö¿ýªí³æ
¦¹3¶µ¤]­n°µ¸ê®Æ·sªº¤u§@ªº¸ê°T§ó·s

7.F2¯à°÷·j´M¨ä«á¤u§@ªí(¨Ã¸õ¦Ü¤u§@ªí¤º)

Àɮק令¤U­±³o­Ó

http://www.mediafire.com/?z3h9x21vi1zhmoq

¤j¤j¥Î¦n¥i§_¶Çºô¸ôªÅ¶¡©O!?
¦]¬°Åv­­¤£°÷¤£¯à¤U¸üªþ¥óQ.Q
«ô°U¤F^^~~

TOP

¥»©«³Ì«á¥Ñ konkon3141 ©ó 2012-10-30 23:52 ½s¿è
¦^´_  konkon3141
ÁôÂäu§@ªíªº¶W³sµ²·|¥¢®Ä¬O¥¿±`ªº..
¥t¤@ºØ¤èªk¬O¤u§@ªí¤£ÁôÂà , ¨ìExcel¿ï¶µ¸Ì¨ú®ø  ...
stillfish00 µoªí©ó 2012-10-28 23:15



¤£¦n·N«ä¤j¤j
¦]¬°§Ú·Q§â¼i¾ú«Øªº§ó§¹µ½¨Ç
©Ò¥H·Q·s¼W¤@¨Ç¥\¯à
¤£ª¾¹DEXCEL¬O§_¯à¦³³o¨Ç¥\¯à©O?
¦pªG¦³¨Ç¨S¦³¤]¨SÃö«Y
¦³ªº¥\¯à¦A½Ð¤j¤jµ¹§ÚÁ¿~~

1.
­º¥ý¥H¤U¥\¯à¤£¥]¬A¥Ø¿ý»PªÅ¥Õ®æ¦¡
²ÄB27~E39
»Ý§ì¨ú¨ä«á­±¤u§@ªí¤¤B1ªº¦WºÙ
­pºâ¦³´X­Ó¤u§@ªí(©ñBÄæ)
³o¨Ç¤u§@ªí¤¤¦³´Xµ§¥Í²£ªí³æ.ºû­×ªí³æ.²§°Ê¬ö¿ýªí³æ
¦p¦³·s¼W¤u§@ªí»Ý§ó·s¸ê®Æ(·s¼W¸ê®Æ·|©ñ¦b¥Ø¿ý»PªÅ¥Õ®æ¦¡¤§¤¤)
¤j¤j°µ¤@­Ó´N¦n
¨ä¥L§Ú¦b¦Û¤v§ïÄæ¦ì»P¦WºÙ

2.B46¦Ü¥H¤UD249
»Ý¶Ç¦^¥ªÃä¤u§@ªí¤¤H2~H4ªº­È
¤£ª¾¹D¦³¿ìªk§å¶q·ÓAÄæ¦WºÙ¶Ç¦^¶Ü(¤£¥]¬AªÅ¥Õ¦æ)?
¦p¦³·s¼W¦æ¼Æ«hH2~H4­n¯àÅã¥Ü¸ê®Æ¼Æ

3.²Ä2¤u§@ªí~²Än(¥]¬AªÅ¥Õ®æ¦¡)¤u§@ªí¤¤
H2~H4
»Ý¯à­pºâB9,J9,K9(¥þ³¡¥]¬A²Ä9¦C)¥H¤U¦³´X¤ñ¸ê®Æ
¤j¤j°µ¤@­Ó´N¦n
¨ä¥L§Ú¦b²Î¤@¶K¤W

4.A9,I9,O9¦Ü¥H¤UÄæ
¯à§_§PÂ_B9,J9,K9¬O§_¶ñ¤J¸ê®Æ«á
¦Û°Ê²£¥Í1.2.3.4ªº±Æ§Ç©O?

5.
I2~I4
¯à²·¨ì³Ì«á¿é¤J¸ê®Æ¼Æ¤§«áªºªÅ¥ÕÄæ(Bi,Ji,Ki)
¦p§Ú²{¦b¿é¤JB9¤F
«öI2¥i¥Hª½±µ¸õ¨ìB10
¦p¨S¦³¸ê®Æ»Ý¸õ¦^²Ä9¦æ

ªF·Q¦è·Q·Q¤F¤£¤Ö¥\¯à
¤£ª¾¹Dexcel¦³¨S¦³¥H¤W¥\¯à©O!?
¦A¦¹¤£ºÞµ²ªG¦p¦ó³£¥ýÁÂÁ¤j¤j¤F^^~~

¤j¤j¥Î¦n¥i§_¶Çºô¸ôªÅ¶¡©O!?
¦]¬°Åv­­¤£°÷¤£¯à¤U¸üªþ¥óQ.Q
«ô°U¤F^^~~

http://www.mediafire.com/?jb6y7kd9k8n8882

TOP

²©öÅã¥Ü¦æ¦C..
  1. Sub ioxga()
  2.     For uxa = 1 To 10
  3.         
  4.         'Sheets.Add After:=Sheets(Sheets.Count)
  5.         'Sheets("¤u§@ªí" & uxa).Select
  6.         'Sheets("¤u§@ªí" & uxa).Name = "¤u§@ªí" & uxa
  7.         ¤u§@ªí1.[a1] = "ªí³æ¦WºÙ"
  8.         ¤u§@ªí1.[b1] = "¦C¼Æ"
  9.         ¤u§@ªí1.[c1] = "¦æ¼Æ"
  10.         
  11.         ¤u§@ªí1.Cells(uxa + 1, 1) = Sheets("¤u§@ªí" & uxa).Name
  12.         ¤u§@ªí1.Cells(uxa + 1, 2) = Sheets("¤u§@ªí" & uxa).Range("A1").CurrentRegion.Rows.Count
  13.         ¤u§@ªí1.Cells(uxa + 1, 3) = Sheets("¤u§@ªí" & uxa).Range("A1").CurrentRegion.Columns.Count
  14.         
  15.     Next
  16. End Sub
½Æ»s¥N½X

  ¦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

¦^´_  konkon3141
ÁôÂäu§@ªíªº¶W³sµ²·|¥¢®Ä¬O¥¿±`ªº..
¥t¤@ºØ¤èªk¬O¤u§@ªí¤£ÁôÂà , ¨ìExcel¿ï¶µ¸Ì¨ú®ø  ...
stillfish00 µoªí©ó 2012-10-28 23:15



¦b¨Ì²ú¦³¤j¤j»¡¦pªG¶û¤Uªí¤u§@ªí¯Á¤Þ¼ÐÅÒ¤Ó¦h
¥i¥H¦Ò¼{¥HÀɮ׳sµ²ªº¤è¦¡
¥H§Ú³o­Ó¨Ò¤l
´N¤£ª¾¹D¦³¨S¦³1­Ó¤u§@ªí´«¦¨1­Ó¬¡­¶Ã¯ªº¤èªk¤F
¦Ó¥B¦b¥Ø¿ýªº²Î­p¶q¦³¿ìªk¸óÀÉ®×­pºâ¶Ü...³o¤]¬O­Ó¤j°ÝÃD

¨ú®ø¤u§@ªí¯Á¤Þ¼ÐÅÒÁÙÆZ¤£¤è«Kªº@@
¦pªG­n·s¼W¤u§@ªí«á­n¦^ªÅ¥Õ®æ¦¡ ½Æ»s®æ¦¡
¯uªº«D±`³Â·Ð..

·PÁ¤j¤jªá¤F1¤Ñ¼ö¤ßªºÀ°¦£^^~~
¾Ç¨ì¤F«Ü¦h¬O¾Ç®Õ¤£·|±Ðªºª¾ÃÑ~~

TOP

¦^´_ 16# konkon3141
ÁôÂäu§@ªíªº¶W³sµ²·|¥¢®Ä¬O¥¿±`ªº..
¥t¤@ºØ¤èªk¬O¤u§@ªí¤£ÁôÂà , ¨ìExcel¿ï¶µ¸Ì¨ú®ø ¤u§@ªí¯Á¤Þ¼ÐÅÒ
¤£¹L¬Ý¥Î³~°Õ  ¦³®É­Ô·|¤£¤Ó¤è«K..

TOP

¦^´_  konkon3141

¦Û©w¸q¨ç¼ÆC9=All_Data(A1,ªÅ¥Õ®æ¦¡!A1,0)
C10=All_Data('¥Ø¿ý&¼Ò¨ã«~¦W'!B:B,ªÅ¥Õ®æ ...
Hsieh µoªí©ó 2012-10-28 22:31



¤j¤j§Ú½×¾ÂÅv­­¤£°÷
¥i¥H¶Çºô¸ôªÅ¶¡¶Ü@@!?
ÁÂÁÂÅo^^~~~

TOP

¦^´_ 13# konkon3141

¦Û©w¸q¨ç¼Æ
  1. Function All_Data(sh As Range, sh1 As Range, MyType As Integer) As Double
  2. Application.Volatile
  3. For Each sht In Sheets
  4.   If sht.Name <> sh.Parent.Name And sht.Name <> sh1.Parent.Name Then
  5.      Rng = sh.Address(, , , , 0)
  6.      Rng1 = sh1.Address(, , , , 0)
  7.      Select Case MyType
  8.      Case 0
  9.      All_Data = All_Data + 1
  10.      Case Else
  11.      All_Data = All_Data + (Application.CountA(sht.Range(Rng)) - Application.CountA(sht.Range(Rng1)))
  12.      End Select
  13.   End If
  14. Next
  15. End Function
½Æ»s¥N½X
C9=All_Data(A1,ªÅ¥Õ®æ¦¡!A1,0)
C10=All_Data('¥Ø¿ý&¼Ò¨ã«~¦W'!B:B,ªÅ¥Õ®æ¦¡!B$1:B$8,1)
C11=All_Data('¥Ø¿ý&¼Ò¨ã«~¦W'!J:J,ªÅ¥Õ®æ¦¡!J$1:J$8,1)
C12=All_Data('¥Ø¿ý&¼Ò¨ã«~¦W'!P:P,ªÅ¥Õ®æ¦¡!P$1:P$8,1)
¼Ò¨ã¼i¾ú.rar (46.42 KB)
¾Ç®üµL²P_¤£®¢¤U°Ý

TOP

¥t¥~½Ð°Ý¤j¤j§Ú·Q§â²Ä3¤u§@ªí"PC°w¼Ò"~·s¤â¿ö¬[(²Õ)ÁôÂÃ
¦ý³o¼Ë·|³y¦¨²Ä1­¶ªº¼Æ¶qµLªk­pºâ­C...
¥Ø¿ý¤U¤èªº¶W³sµ²¤]·|¥þ³¡¥¢®Ä..

TOP

        ÀR«ä¦Û¦b : ¤f»¡¤@¥y¦n¸Ü¡A¦p¤f¥X½¬ªá¡F¤f»¡¤@¥yÃa¸Ü¦p¤f¦R¬r³D¡C
ªð¦^¦Cªí ¤W¤@¥DÃD