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

[µo°Ý] (¤w¸Ñ¨M)²Î­pÃC¦â¦¸¼Æ

[µo°Ý] (¤w¸Ñ¨M)²Î­pÃC¦â¦¸¼Æ

¥»©«³Ì«á¥Ñ freeffly ©ó 2012-2-22 17:02 ½s¿è

¦pªG§Ú¦³¤@­Ó¸ê®Æ¬O¥Î·í¤ë»ù®æ¤ñ¸û¤W¦¸¥æ©ö»ù®æ
·í»ù®æ¸û§C®É·|¼Ð¤WÃC¦â
­n¥Î¤°»ò¤è¦¡¥i¥H­pºâ¥X¸Ó¦CªºÃC¦â¥X²{¦¸¼Æ
´N¬O¸Ó²£«~­°»ù¦¸¼Æ?

·s¼W Microsoft Excel ¤u§@ªí (3).rar (1.63 KB)
¦r¨å¨â¦U¦r ÁÙ¯uÃø²z¸Ñ

¦^´_ 2# chin15


    ¥i¯àµo©«ªº®É­Ô¨S»¡«Ü²M·¡
   §Ú·Q­nªºµ²ªG²Î­p¦U°Ó«~ªº¶^»ù¦¸¼Æ
   ¦pªþÀÉ
   ¤j¤jªº¤è¦¡¬O²Î­p©Ò¦³ÃC¦âªº¥X²{¦¸¼Æ
   ¤£ª¾¹D§Úªº·Qªk¦³¨S¦³¤è¦¡¥i¥H§¹¦¨?


·s¼W Microsoft Excel ¤u§@ªí (3).rar (7.15 KB)
¦r¨å¨â¦U¦r ÁÙ¯uÃø²z¸Ñ

TOP

¦^´_ 4# GBKEE


    ³o¬O§Ú­nªºµ²ªG
     ÁÂÁ¤j¤jªº¦^ÂÐ
¦r¨å¨â¦U¦r ÁÙ¯uÃø²z¸Ñ

TOP

¦^´_ 4# GBKEE

   ³o¨â¤Ñ®³¥X¨Ó¬ã¨s®Éµo²{¦³¨Çµ{¦¡½X¥Îªk¤£¤ÓÀ´

    Sub Ex()
    Dim Rng As Range, X As Range, R As Range, Tolta%, A%, i%, ii%
    Cells.ClearFormats
    Set Rng = Range("B2:I" & [A2].End(xlDown).Row)
    For Each R In Rng.Rows
        Set Rng = R.Cells(1)       R.Cells(1)¡÷³o­Ó¬O«ü?        A = 0
        For ii = 2 To 8
            If R.Cells(1, ii) <> "" And Rng > R.Cells(1, ii) Then      R.Cells(1, ii)³o­Ó¸ò¤W­±°Ýªº®t²§¦b­þ?
                Set Rng = R.Cells(1, ii)
                R.Cells(1, ii).Font.ColorIndex = 7
                Tolta = Tolta + 1
                A = A + 1
                With R.Cells(1, 10)
                    .Value = A
                    .Interior.ColorIndex = 4
                End With
            ElseIf R.Cells(1, ii) <> "" And Rng < R.Cells(1, ii) Then
                Set Rng = R.Cells(1, ii)                                   ³o¤@¾ã¥yªº·N«ä¬O?
            End If
        Next
    Next
    [L1] = Tolta
End Sub



¦pªG§Ú­n±N­°»ù§ï¬°º¦»ù¬O¤£¬O¼gªk¤£¤Ó¨Ì¼ËÁÙ¬O­×§ï¤°»ò¦a¤è¥i¥H¹F¨ì®ÄªG?
¦r¨å¨â¦U¦r ÁÙ¯uÃø²z¸Ñ

TOP

¦^´_ 7# GBKEE


    ÁÂÁ¤j¤j¸Ñ»¡
     §Ú¦b¬ã¨s¤@¤U¦p¦ó§ï¦¨º¦»ùªº§PÂ_
¦r¨å¨â¦U¦r ÁÙ¯uÃø²z¸Ñ

TOP

¦^´_ 7# GBKEE
  1. Sub up()
  2.     Application.ScreenUpdating = False
  3.     Dim Rng As Range, X As Range, R As Range, Tolta%, A%, i%, ii%
  4.     With Cells.Font
  5.         .ColorIndex = 0
  6.         .Bold = False
  7.     End With
  8.     Set Rng = Range("C5:AD" & [A65536].End(xlUp).Row)
  9.     For Each R In Rng.Rows
  10.         Set Rng = R.Cells(1)
  11.         A = 0
  12.         Y = [iv4].End(xlToLeft).Column - 1
  13.         For ii = 2 To 28
  14.             If R.Cells(1, ii) <> "" And Rng < R.Cells(1, ii) Then
  15.                 Set Rng = R.Cells(1, ii)
  16.                 With R.Cells(1, ii).Font
  17.                     .ColorIndex = 7
  18.                     .Bold = True
  19.                 End With
  20.                 A = A + 1
  21.                 With R.Cells(1, Y)
  22.                     .Value = A
  23.                     .Interior.ColorIndex = 4
  24.                 End With
  25.             ElseIf R.Cells(1, ii) <> "" And Rng > R.Cells(1, ii) Then
  26.                 Set Rng = R.Cells(1, ii)
  27.             End If
  28.             If R.Cells(1) = "" Then
  29.             With R.Cells(2).Font
  30.                 .ColorIndex = 0
  31.                 .Bold = False
  32.            End With
  33.            End If
  34.         Next
  35.     Next
  36. End Sub
½Æ»s¥N½X
  1.    If R.Cells(1) = "" Then
  2.             With R.Cells(2).Font
  3.                 .ColorIndex = 0
  4.                 .Bold = False
  5.            End With
  6.            End If
½Æ»s¥N½X
³o¤@¬q­ì¥»¬O¬°¤F¦pªG¸Ó¦æªº²Ä¤@®æ¬°ªÅ¥Õ²Ä2®æ´N¤£­n°µ¤ÏÀ³
¥i¬O§Ú§Ñ¤FÁÙ¦³²Ä3¡B4....®æ
½Ð°Ý³o¦U­n«ç»ò­×§ï?
¦r¨å¨â¦U¦r ÁÙ¯uÃø²z¸Ñ

TOP

¦pªþÀɤ¤¼Ðµùªº¨º¨â¦U¦ì¤l
­n«ç¼ËÅýµ{¦¡½X¤£¹ï³oºØ±¡§Î°µ°Ê§@¥i¬O¤S¤£·|¼vÅT¨ì¥L«á­±ªº¼Æ¦r°µ°Ê§@

Book1.rar (3.96 KB)
¦r¨å¨â¦U¦r ÁÙ¯uÃø²z¸Ñ

TOP

¦^´_ 11# GBKEE


    ¦pªþÀɶÀ¦â¼Ð°_¨Óªº¦a¤è¤£À³¸Ó³Q»{¬°º¦»ù
      ¦]¬°«e­±¨S¥æ©ö
       §A´£ªº¨º¦æµ{¦¡½X§Ú¬O­n¥Î¨ÓÅý¥Lª½±µ¦b¸ê®Æªº¥kÃä²Î­p
    ²Î­pÃC¦â.rar (6.6 KB)
¦r¨å¨â¦U¦r ÁÙ¯uÃø²z¸Ñ

TOP

¤£ª¾¹D§ÚªºªþÀɤj¤j¬ÝªºÀ´¶Ü?
¦r¨å¨â¦U¦r ÁÙ¯uÃø²z¸Ñ

TOP

¦^´_ 14# GBKEE


    ªí¹F¤W¥i¯à¦³¨Ç¤£²M·¡
¤£¹L¤j¤jªº¤è¦¡§Ú§ï¹L¤w¸g¬O§Ú­nªº

¥u¬O¤£ª¾¹D§Ú³o¼Ë§ï¨Æ¤£¬O³Ì¨Îªº¤è¦¡
ªþ¤W§Ú­nªº§¹¦¨«~
¤S¾Ç¨ì·sªF¦è
ÁÂÁÂ
  1. Sub up()
  2.     Application.ScreenUpdating = False
  3.     Dim Rng As Range, X As Range, R As Range, Tolta%, A%, i%, ii%
  4.     With Cells
  5.         .Interior.ColorIndex = xlNone
  6.         .Font.ColorIndex = 0
  7.         .Font.Bold = False
  8.     End With
  9.     Set Rng = Range("C5:AD" & [A65536].End(xlUp).Row)
  10.     For Each R In Rng.Rows
  11.         Set Rng = R.Cells(1)
  12.         A = 0
  13.         Set Rng = R.Cells(1, 0).End(xlToRight)
  14.         Rng.Interior.ColorIndex = 0
  15.         Y = [iv4].End(xlToLeft).Column - 1
  16.         For ii = 2 To 28
  17.             If R.Cells(1, ii) <> "" And Rng < R.Cells(1, ii) Then
  18.                 Set Rng = R.Cells(1, ii)
  19.                 With R.Cells(1, ii).Font
  20.                     .ColorIndex = 7
  21.                     .Bold = True
  22.                 End With
  23.                 A = A + 1
  24.                 With R.Cells(1, Y)
  25.                     .Value = A
  26.                     .Interior.ColorIndex = 4
  27.                 End With
  28.             ElseIf R.Cells(1, ii) <> "" And Rng > R.Cells(1, ii) Then
  29.                 Set Rng = R.Cells(1, ii)
  30.             End If
  31.         Next
  32.     Next
  33. End Sub
½Æ»s¥N½X
²Î­pÃC¦â.rar (10.83 KB)
¦r¨å¨â¦U¦r ÁÙ¯uÃø²z¸Ñ

TOP

        ÀR«ä¦Û¦b : ¡i°µ¤Hªº¶}©l¡j¨C¤@¤Ñ³£¬O¬G¤Hªº¶}©l¡A¨C¤@­Ó®É¨è³£¬O¦Û¤vªºÄµ±§¡C
ªð¦^¦Cªí ¤W¤@¥DÃD