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

[µo°Ý] Excel¦p¦ó¥HÃöÁä¦r¿ï¨ú¾ã¦C¸ê®Æ¨Ã½Æ»s¨ì·s¤u§@ªí¡H

[µo°Ý] Excel¦p¦ó¥HÃöÁä¦r¿ï¨ú¾ã¦C¸ê®Æ¨Ã½Æ»s¨ì·s¤u§@ªí¡H

¦U¦ì«e½ú¦n¡A¤£¦n·N«ä¡A§Ú¥ÎExcel»s§@¤F¤@­Ó°O±bªí¬¡­¶Ã¯¡A¦p¦P¥H¤U³o­Ó³sµ²©Ò¥Ü(³sµ²¬°Google¶³ºÝµwºÐ¨Ó·½¡A½Ð¦w¤ß³sµ²)


§Ú¥H¤@­Ó¤ë¬°³æ¦ì³]¥ß¤@­Ó¤u§@ªí¡A¨C­Ó¤u§@ªí¤º¤S²Ó¤À¤é´Á¡B¤j¶µ¡B¤p¶µ¡B²Ó¸`¡B(¤ä¥X¤è¦¡)¡B(¦¬¤J¤è¦¡)µ¥µ¥¡A­YµLªk³sµ²¹Ï¤ù¡A²³æ¥H¤U¥Ü·N¹Ï¡G

ªí1
¡@¡@A¡@¡@¢Ð¡@¡@¢Ñ¡@¡@¢Ò
1¡@¤é´Á¡@¤j¶µ¡@¤p¶µ¡@²Ó¸`
2¡@5/01¡@¥ë­¹¡@¦­À\¡@¶ºÄ{
3¡@5/01¡@¥ë­¹¡@¤ÈÀ\¡@°®ÄÑ
4¡@5/02¡@¦L¨ê¡@¦W¤ù¡@¨Ê¯a¦W¤ù
5¡@5/03¡@¥ë­¹¡@¦­À\¡@¶ºÄ{

ªí2
¡@¡@A¡@¡@¢Ð¡@¡@¢Ñ¡@¡@¢Ò
1¡@¤é´Á¡@¤j¶µ¡@¤p¶µ¡@²Ó¸`
2¡@6/01¡@¥ë­¹¡@¦­À\¡@¶ºÄ{
3¡@6/02¡@¥ë­¹¡@¤ÈÀ\¡@°®ÄÑ
4¡@6/04¡@¦L¨ê¡@¤j¹Ï¡@¨Ê¯a¤j¹Ï
5¡@6/05¡@¥ë­¹¡@¦­À\¡@¶ºÄ{

§Ú§Æ±æ¯à¦b¦P¤@­Ó¬¡­¶Ã¯¸Ì·s¶}¤@­Ó¤u§@ªí(¦p¹Ï¤¤ÂÅ®Ø)¡A
·í§Ú¿é¤J¬Y¤@­ÓÃöÁä¦r¡A¨Ò¦p¡u¨Ê¯a¡v(¦p¹Ï¤¤¬õ®Ø)¡A
Excel¥i¥H¦Û°ÊÀ°§Ú¿ï¨ú©Ò¦³¤ë¥÷ªº¤u§@ªí¤ºªº¤@¾ã¦C¸ê®Æ¡A
¥]§t¤é´Á¡B¤j¶µ¡B¤p¶µ¡B²Ó¸`....(¦p¹Ï¤¤ºñ®Ø)¡A
¨Ã½Æ»s¨ì·s¤u§@ªí¤º¡A¥HÀ°§U§Ú§Ö³t²Î­p³o´X­Ó¤ë¨Ó©Ò¦³©M¡u¨Ê¯a¡v¦³Ãöªº±b¥Ø¡C

·Q¾Ç°_¨Ó¤§«á¥i¥HÀ³¥Î¦b¡A¨Ò¦p»¡¡A§Ú¤§«á·Q²Î­p³o´X­Ó¤ëªº¦­À\µæ¦â©M¤ä¥X¡A¥i¥H¤£¥Î¤@­Ó¤@­Ó¥h·j´M~
·PÁ¦U¦ì«e½ú½ç±Ð~

Excel.jpg (246 KB)

Excel.jpg

¦^´_ 15# GBKEE


½Ð±Ð¤@¤U¦pªG­n±N©Ô¥X¨Óªº¸ê®Æ°µ­×§ï¨Ã¦^¦s­ìÀx¦s®æ­n«ç»ò°µ©O¡H

TOP

¦^´_ 3# sunnyso


    ¥i¥HSHARE¹À, ¥»¤H¤]¦³¬Û¦PÁöµM¦¹VBA CODE...ÁÂÁÂ~

TOP

ÁÂÁ¤À¨É¡A­è¦n¦³»Ý­n

TOP

ÁÂÁ±z~§Ú¥¿¦n»Ý­n³o¼Ëªº»Ý¨D~3Q

TOP

¥»©«³Ì«á¥Ñ GBKEE ©ó 2014-2-2 09:45 ½s¿è

¦^´_ 14# b7307024
Â\©ñ¸ê®Æ¤u§@ªí¼Ò²Õªºµ{¦¡½X
  1. Option Explicit                    '¦b¼Ò²Õ¼h¦¸¤¤±j­¢¨C­Ó¦b¼Ò²ÕùتºÅܼƳ£¥²¶·©ú½Tªº«Å§i¡C
  2. Option Base 1                      '¦b¼Ò²Õ¼h¦¸¤¤¥Î¨Ó«Å§i°}¦C¯Á¤Þªº¹w³]¤U­­->¬° 1
  3. Private Sub Worksheet_Change(ByVal Target As Range)
  4.     If Target.Address = "$B$1" Then
  5.          Ext_data Target
  6.     End If
  7. End Sub
  8. Private Sub Ext_data(ByVal Target As Range)
  9.     Dim mnth As Worksheet, all_month(), Rng As Range, AR(), R As Range, S As Integer
  10.     S = 1
  11.     Application.ScreenUpdating = False
  12.     Set Rng = Target.Parent.Range("A5")
  13.     Rng.CurrentRegion.Offset(1).Clear
  14.     all_month = Array("Jan", "Feb", "Mar")
  15.     For Each mnth In Sheets(all_month)
  16.         With mnth
  17.             .Range("A1").AutoFilter 4, "*" & Target & "*"            '¦Û°Ê¿z¿ï
  18.             For Each R In .AutoFilter.Range.SpecialCells(xlCellTypeVisible).Rows
  19.                 If R.Row > 1 Then
  20.                     ReDim Preserve AR(1 To S)
  21.                     'AR(S) = R   '¾ã¦C
  22.                     AR(S) = Array(R.Cells(1).Value, R.Cells(4).Value)  '¤é´Á,²Ó¸`
  23.                     S = S + 1
  24.                 End If
  25.             Next
  26.             .AutoFilterMode = False
  27.         End With        
  28.     Next
  29.     Rng.Offset(1).Resize(S - 1, UBound(AR(1))) = Application.Transpose(Application.Transpose(AR))
  30.     Application.ScreenUpdating = True
  31. End Sub
½Æ»s¥N½X
·P®¦ªº¤ß......(¦b³Â»¶®a±Ú°Q½×°Ï.¥Î¤ß¾Ç²ß·|¦³¶i¨Bªº)
¦ý¸ê·½µL­­,«á´©¦³­­,  ¤@¤Ñ1¤¸ªºÃÙ§U,¤H¤H¦³¯à¤O.

TOP

½Ð°Ý³oÃþ«¬ªº¹ê§@¬O§_¤@©w±o­É¥Î¨ìVBAªº»yªk¡H
¾ÇµL¤îºÉ

TOP

¶Ù¶Ù~ ¦U¦ì«e½ú¦n!!!
§Ú±N¦¹find record1.rar¤U¸ü¦^¥h¬ã¨s¤F¤@¤U
½Ð°Ý¬O§_¤@©w­n¥ý±N¸ê®Æ±q¦Usheet½Æ»s¥X¨Ó¦s¨ì¬Y¨Ç¦a¤è
¦A±q³o¨Ç¦a¤è¡A½Æ»s¨ì§Ú·Q­nÅã¥ÜªºÄæ¦ì©O¡H

¤£¯à¦Usheet¦³²Å¦Xªº¸ê®Æ¡Aª½±µÅã¥Ü¦b§Ú·Q­nÂ\©ñªºÄæ¦ì¶Ü¡H
¨Ã¥B¨Ì¾Ú¼ÐÃDÅã¥Ü¡A¦p¡G§Ú¥u­nÅã¥Ü¤é´Á¸ò²Ó¸`
ÁÂÁ³á¡I

TOP

¦n·Qª¾¹D«ç»ò¸Ñ³á

TOP

¤@°_¥[ªo§a¦U¦ìQUQ¡A§Ú¨C¦¸·Q¨ì´N·|¨Ó³o¸ÌÂIÂI¿n¤À¡A
²r¤@¬Ý¬O2¤ëµo°Ýªº¡A¨ì²{¦bÁÙ¤£¯à¤U¸üXDDDDDDDDDDDDD

§Ú¥u®t3­Ó¿n¤À´N¥i¥H¤U¸ü¤F!!!!!!¥[ªo!!!!!!

TOP

        ÀR«ä¦Û¦b : ¤Hªº²´·úªø¦b«e­±¡A¥u¬Ý¨ì§O¤Hªº¯ÊÂI¡Aµ·²@¬Ý¤£¨ì¦Û¤vªº¯ÊÂI¡C
ªð¦^¦Cªí ¤W¤@¥DÃD