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

¼x¨D°ª¤âÀ°§Ú¸Ñ¨M¤@¤U³o­Ó°ÝÃD

¦^´_ 19# c_c_lai


  C¤j¦pªGG2>9§Ú­n§ï¦¨¬õ¦â¦Ó¥B²ÊÅé³oÃä.[G3].Font.FontStyle = IIf(.[G2] > 9, "²ÊÅé", "¼Ð·Ç")­n«ç»ò§ï??

TOP

¦^´_ 21# ÂŤÑÄR¦À
  1. Sub RecordPrice()      '  ±q²Ä¤T¦æ´¡¤J¼Ò¦¡
  2.     Dim WR As Long

  3.     Application.ScreenUpdating = False

  4.     With Sheets("RTD")
  5.         If .Range("H2") < 1 Then Exit Sub

  6.         WR = Range("A1").End(xlDown).Row + 1

  7.         If (WR = 3) Or (.[G3] <> .[G2]) Then   ' Á`¶q¦³²§°Ê®É¤~°O¿ý
  8.             .Rows(3).Insert
  9.             .[A3].Resize(1, 8) = .[A2].Resize(1, 8).Value
  10.             .[G3].Font.FontStyle = IIf(.[G2] > 9, "²ÊÅé", "¼Ð·Ç")
  11.             .[G3].Font.Color = IIf(.[G2] > 9, 255, 2)
  12.         End If
  13.     End With

  14.     Application.ScreenUpdating = True
  15. End Sub
½Æ»s¥N½X

TOP

¦^´_ 20# ÂŤÑÄR¦À
  1. Sub RecordPrice()      '  ©¹¤U»¼¼W¼Ò¦¡
  2.     Dim WR As Long

  3.     Application.ScreenUpdating = False

  4.     With Sheets("RTD")
  5.         If .Range("H2") < 1 Then Exit Sub

  6.         WR = Range("A1").End(xlDown).Row + 1

  7.         If (WR = 3) Or (.Range("G" & WR - 1) <> .[G2]) Then  ' Á`¶q¦³²§°Ê®É¤~°O¿ý
  8.             .Range("A" & WR).Resize(1, 8) = .[A2].Resize(1, 8).Value
  9.             .Range("G" & WR).Font.FontStyle = IIf(.[G2] > 9, "²ÊÅé", "¼Ð·Ç")
  10.             .Range("G" & WR).Font.Color = IIf(.[G2] > 9, 255, 2)
  11.         End If
  12.     End With

  13.     Application.ScreenUpdating = True
  14. End Sub
½Æ»s¥N½X

TOP

¦^´_ 23# c_c_lai

C¤jÁÂÁ§A¡A³o°}¤l¯u¬O³Â·Ð©p¤F¡A·PÁÂ

TOP

¦^´_ 23# c_c_lai


¬õ¦â255¡A¨º¨ä¥LÃC¦â©O??¨Ò¦pÂŦâ??
¦³ÃC¦âªº¹ï·Óªí¶Ü??

TOP

¥»©«³Ì«á¥Ñ c_c_lai ©ó 2015-12-31 15:29 ½s¿è

¦^´_ 25# ÂŤÑÄR¦À
°Ñ¦Ò¬Ý¬Ý
©ÎªÌ¬O
Colors

TOP

¥»©«³Ì«á¥Ñ ÂŤÑÄR¦À ©ó 2016-1-1 12:32 ½s¿è

¦^´_ 26# c_c_lai


    .Range("G" & WR).Font.Color = IIf(.[G2] > 9, 255, 2)¥i¬O³o¸Ì­±¨S¦³RGB(0,0,255)¿ï¶µªü??
¨º­n«ç»ò§ï©O??
¬O§ï¦¨³o¼Ë¶Ü??.Range("G" & WR).Font.Color = IIf(.[G2] > 9, RGB(0,0,255), 2)

TOP

¦^´_ 26# c_c_lai


     .Range("G" & WR).Font.Color = IIf(.[G2] > 9, 255, 2)¥t¥~255«á­±ªº2¤S¬O¬Æ»ò·N«ä©O??

TOP

¥»©«³Ì«á¥Ñ c_c_lai ©ó 2016-1-1 13:57 ½s¿è

¦^´_ 27# ÂŤÑÄR¦À
¥H¤U¥|¦C¡A³£¬O¦P¸q¡G
  1.         '  ¤è¦¡¤@
  2.         .Range("G" & WR).Font.Color = IIf(.[G2] > 9, 255, 2)
  3.         '  ¤è¦¡¤G
  4.         .Range("G" & WR).Font.Color = IIf(.[G2] > 9, 255, RGB(0, 0, 0))
  5.         '  ¤è¦¡¤T
  6.         .Range("G" & WR).Font.Color = IIf(.[G2] > 9, RGB(255, 0, 0), 2)
  7.         '  ¤è¦¡¥|
  8.         .Range("G" & WR).Font.Color = IIf(.[G2] > 9, RGB(255, 0, 0), RGB(0, 0, 0))
½Æ»s¥N½X

TOP

¦^´_ 29# c_c_lai


    ¨º¦pªG¥Î¤è¦¡¤@§ï¦¨ÂŦâ©O??

TOP

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