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

¦Û°Ê¡i§PŪ¦³¼Ð¥Ü«ü©w©³¦âªº¼Æ¦r¦¸¼Æ¡j&¡i¦¸¼Æ¥[Á`¡j&¡i¿é¥XÀɮסj¤§»yªk¡C

¥»©«³Ì«á¥Ñ Airman ©ó 2019-5-6 15:23 ½s¿è

¦^´_ 30# Scott090
ÁÙ¨S¦³¶](Ū)¨ì.UsedRange.Sort key1:=.[B1], Header:=xlNosort =>ÁÙ¬O¦b .Sort ¥d°±¦í=>¦P21¼Óªº´£¥Ü¹Ï¤ù~
§ä¤£¨ì"¤ÀÃþ¸ê®Æ"
¤p§Ì¦b²q¤]¬Oª©¥»°ÝÃD¡C
¤£¦n·N«ä¡A¤@¦Aªº¥oÂZ±z~¤p§Ì¦A¦Û¦æ¬ã¨s¬Ý¬Ý©Î§ä2010ª©¨Ó¸Õ¸Õ¬Ý^^"
ÁÂÁ±zªº­@¤ß¨ó§U©M«ü¾É~·P®¦

TOP

¦^´_ 18# Airman


²Ä2¬q§ï¬°:
If xD.Count = 0 Then Exit Sub
Application.DisplayAlerts = False
For Each V In xD.keys
    F = "¤µ¤éÁ`ªí(§¡­È±Æ§Ç)-" & V & "_²Î­p.xls"
    BK.Sheets("Sample").Copy
    With ActiveWorkbook
         .Sheets(1).[B2].Resize(7, 49).Value = xD(V & "")
         d$ = Format(Mid(V, 2, 10), "yyyy/m/d")
         Set xR = Nothing
         Set xR = BK.Sheets("DATA").[A:A].Find(d, Lookat:=xlPart)
         If Not xR Is Nothing Then
            For i = 4 To 9
               .Sheets(1).Cells(1, xR(1, i) + 1).Interior.ColorIndex = 6
            Next i
            Sheets(1).Cells(1, xR(1, 10) + 1).Interior.ColorIndex = 43
         End If
         .SaveAs Filename:=BK.Path & "\" & F, CreateBackup:=False
         .Close 0
    End With
Next

=============

TOP

¦^´_ 30# Scott090


SortFields §Ú³o¬OµLªk°õ¦æªº(2000ª©)

TOP

¦^´_ 31# Airman

½Ðª`·N¡A³o¤@¬q¤w¸g®³±¼¤F¡A¨S¦³¤F¡A½Ð¥ý§â¥¦§R°£¡G
       '                 With .Sort
        '                        .SortFields.Add Key:=[B:B]
        '                  .SetRange sh.UsedRange
        '                  .Apply
        '             End With      
      
       ¥u³Ñ¤U³o¤@»y¥y¡G
                     .UsedRange.Sort key1:=.[B1], Header:=xlNo

TOP

¦^´_ 31# Airman

    ³o¸Ì¦³Excel sort ªº»yªk»¡©ú ¡G
    https://blog.xuite.net/fred9782001214/wretch/149636887-%5BVBA%5D+%E6%8E%92%E5%BA%8F%E8%AA%9E%E6%B3%95%28Excel+2003+%E9%81%A9%E7%94%A8%29

TOP

¦^´_ 32# ­ã´£³¡ªL
­ã¤j:±z¦n!
OK¤F~
ÁÂÁ±zªº­@¤ß¨ó§U©M«ü±Ð!·P®¦

TOP

¦^´_ 35# Scott090

Scott090¤j¤j:±z¦n!
¨þ~¨þ~­è¦n³Q¤p§Ì餤
OK¤F~
¦A¦¸ÁÂÁ±zªº­×¥¿³qª¾©M°Ñ¦Ò¸ê®Æ

TOP

¦^´_ 34# Scott090
´ú¸ÕÀÉ¡J ¤µ¤éÁ`ªí(§¡­È±Æ§Ç).rar (106.13 KB)
Scott090¤j¤j¡J±z¦n!
¤£¦n·N«ä¡A¯à¦AÀ°¤p§Ì¥[¤@­Ó±N=¬Y«ü©w¤é´Áªº¶}¼ú¸¹½X¼Ð¥Ü©³¦â~¥H§Q¥»ÃD»Ý¨Dªº§¹¾ã¶Ü^^"
PS:¦³°Ñ¦Ò­ã¤jªº»yªk¡A¦ý½s¼gªº»yªk®t²§¤Ó¤j~¤p§Ì¯à¤O¤£ÀÙ~¤ñ¹ï©M¹Á¸Õ¤@¤Ñ¡AÁÙ¬OµLªk¨ú¥Î©Î¦Û¦æ½s¼g^^"
»¡©ú¡J
·í²Î­pÀɮתº¤é´Á=DATAªºAÄæ¤é´Á®É¡A
«h±N²Î­pÀɮפºªº"Sample"¤u§@ªí¤§$B$1¡J$AX$1¦³¥X²{¸ÓAÄæ¤é´ÁªºD¡JJªº¼Æ¦r¼Ð¥Ü©³¦â~
=D¡JIªº¼Æ¦r¼Ð¥Ü6¸¹©³¦â¡F=Jªº¼Æ¦r¼Ð¥Ü8¸¹©³¦â¡C
¦p¸ÓDATAªºAÄæ¤é´ÁªºD¡JJ=""(§Y¨S¦³¥X²{¼Æ¦r)¡A«h³£¤£¼Ð¥Ü©³¦â¡C

¥H¤W   ·q½Ð½ç±Ð!ÁÂÁ±z^^

TOP

¥»©«³Ì«á¥Ñ Scott090 ©ó 2019-5-8 08:56 ½s¿è

¦^´_ 38# Airman

          ¤£¬Æ©ú¥Õ»Ý¨D¡A
           ½Ð»¡©ú ¬õ¦â°é°é¤ºªº Äæ¦ì ¦³©³¦â¡A¦ý¬O©³¤U°é°é¤º¨S¦³¼Æ¦r¡F
            ©ÎªÌ»¡¡A¸ò²Î­p¼Æ¦rµLÃö¡A¥u­n [D~J] ¤º ¦³¼Æ¦r´N¥i¥H?
         

TOP

¥»©«³Ì«á¥Ñ Airman ©ó 2019-5-8 10:23 ½s¿è

¦^´_ 39# Scott090
Scott090¤j¤j¡J±z¦n!
·í²Î­pÀɮתº¤é´Á=DATA(°õ¦æ)ªºAÄæ¤é´Á®É¡A
«h±N²Î­pÀɮפºªº¤u§@ªí¤§$B$1¡J$AX$1¦³¥X²{¸ÓAÄæ¤é´ÁªºD¡JJªº¼Æ¦r¼Ð¥Ü©³¦â~
=D¡JIªº¼Æ¦r¼Ð¥Ü6¸¹©³¦â¡F=Jªº¼Æ¦r¼Ð¥Ü8¸¹©³¦â¡C



¥H¤W  ÂԨѰѦÒ^^
PS:»Ý¨DÀÉ_2ªº¤é´Á2019-0406¥H§ï¬°2019-04-09

TOP

        ÀR«ä¦Û¦b : ¯à¥I¥X·R¤ß´N¬OºÖ¡A¯à®ø°£·Ð´o´N¬O¼z¡C
ªð¦^¦Cªí ¤W¤@¥DÃD