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

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

¦^´_ 12# c_c_lai

C¤j·PÁ§ڤw¸g¸Ñ¨M°ÝÃD¤F¡AÁÂÁÂ

TOP

¥»©«³Ì«á¥Ñ ÂŤÑÄR¦À ©ó 2015-12-29 21:53 ½s¿è

¦^´_ 12# c_c_lai


    §Úªº·Qªk¬Oµ{¦¡½X¸Ì­±¤£¯à¥X²{¥H¤Uµ{¦¡½X¡A¦]¬°§Ú¤w¸g¦³¦b¨ä¥L¦a¤è¿é¤J¤½¦¡§PÂ_G2>9ÅܲÊÅé¡A¬O§_¥u­n§ïÅܼg¤J¤è¦¡´N¥i¥H¤F©O??¦ý§Ú¤£ª¾¹D¬O§_¥¿½T

.[G3].Font.FontStyle = IIf(.[G2] > 9, "²ÊÅé", "¼Ð·Ç")

¼g¤J¤è¦¡§ïÅÜ«üªº¬O¡A¦pªG³o¤@¬íA2~H2³£¬O¤@¯ë¦rÅé¡A¨ºA3~H3´N¼g¤J¤@¯ë¦rÅé¡A¦pªG¤U¤@¬íA2~F2¬°¤@¯ë¦rÅé¡BG2.H2¬°²ÊÅé¡A¨ºA4~F4´N¼g¤J¤@¯ë¦rÅé¡BG2.H2«h¼g¤J²ÊÅé¡A¥H¦¹Ãþ±À¡A¤W­±«ç»òÅܤU­±´N«ç»ò¼g¡A¦Ó¤£¬O¥t¥~¼g¤½¦¡¥h§PÂ_¡A³o¼Ë¥i¥H¶Ü??

TOP

¥»©«³Ì«á¥Ñ ÂŤÑÄR¦À ©ó 2015-12-29 21:36 ½s¿è

ÅÜ°Ê°O¿ý.rar (23.95 KB) ¦^´_ 12# c_c_lai


   
¤£¬O#12ªº¨º­ÓªF¦è¡AC¤j©p¤ñ¸û¤@¤U¨â±i¹Ï¡A¦A¬Ý¤@¤U§Ú#11©Ò¦^ªº¤º®e
C¤j¥ª¹Ï¸Ì­±ªºG3¬O¦³®æ¦¡¤Æ±ø¥óªº¡A¦ý¥k¹ÏH3¬O¨S¦³ªº¡A§Úªº·N«ä¬O¦b©¹¤U¼gªº¹Lµ{¤¤¥ÑG2§PÂ_¡A¼g¨ìG3.G4...¤@ª½©¹¤U¼g³£¤£­n®æ¦¡¤Æ±ø¥ó¸Ì­±¥X²{¤½¦¡¡A¹³H3¸Ì­±¤@¼Ë¬O¨S¦³¤½¦¡¦ýÅܲÊÅé¡A³o¼Ë¥i¥H¶Ü??

§Ú«üªº¤½¦¡¤£¬OÀx¦s®æ¤ºªº¡A¦Ó¬O®æ¦¡¤Æ±ø¥ó¸Ì­±ªº

PS.§Ú­nªº³Ì²×µ²ªG´N¬OG3.G4...©Ò¦³ªºGÄæ¸Ì­±³£¨S¦³®æ¦¡¤Æ±ø¥ó¡A¦ý¬O¸Ì­±ªº¼Æ­È¤j©ó9´NÅܲÊÅé

TOP

¦^´_ 11# ÂŤÑÄR¦À

TOP

¥»©«³Ì«á¥Ñ ÂŤÑÄR¦À ©ó 2015-12-29 20:25 ½s¿è

¦^´_ 10# c_c_lai

C¤j¡A§Ú¦b2¼ÓªþªºªºÀɮ׸̭±§A¤U¸ü«á¥´¶}G2¨ºÃ䦳³]©w®æ¦¡¤Æ±ø¥ó(¹³¥H¤U³sµ²ªºªF¦è)¡A§Ú§Æ±æ©¹¤U¼gªºªF¦è¤£­n¥X²{®æ¦¡¤Æ±ø¥ó¡A¦Ó³æ¯Âªº´N¦rÅéÅܲʴN¦n¡A³o¼ËC¤j¦³¤ñ¸û¦n²z¸Ñ¶Ü??©êºp°Ý±o¦³ÂI¼Ò½k
http://www.techbang.com/posts/9686-excel-formatting-set-conditions-focus-at-a-glance

TOP

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

¦^´_ 9# ÂŤÑÄR¦À
¤£¦n·N«ä½Ð°Ý¡u¦P®æ¦¡¤Æ±ø¥ó¡v«üªº¬O¬Æ»ò¡H
¯à§_»¡©ú¤@¤U¡A³o¼Ë§Ú¤~ª¾§A­nªº¬O¤°»ò¡C
³Ì¦n¦³­Ó¨Ò¤lµe¸¬¤@¤U¡A¦]¬°§ÚÁÙ¨S¤ÏÀ³¹L¨Ó¡C

TOP

¦^´_ 8# c_c_lai


    C¤j·PÁ§A¡A¥t¥~¦A¸ò§A½Ð±Ð¤@¤U¡A§A¥Ø«e¼gªºµ{¦¡½X¦bG¦CÅܦ¨¥þ³¡ªºÀx¦s®æ³£¦³®æ¦¡¤Æ±ø¥ó¤F¡A¥i¥H§ï¦¨¥u¦³G2¥h°µ§P©w¡A¦pªG¤j©ó9©¹¤U¼g¤J²ÊÅé´N¦n¡A¦Ó¤£­n³s¦P®æ¦¡¤Æ±ø¥ó¤@°_¼g¤J¡A³o¼Ë¥i¥H¶Ü??

TOP

¦^´_ 6# ÂŤÑÄR¦À
  1. If (WR = 3) Or _

  2.                  (.Range("G" & WR - 1) <> .Range("G2")) Then  ' Á`¶q¦³²§°Ê®É¤~°O¿ý
½Æ»s¥N½X
»P
  1. If (WR = 3) Or _
  2.                  (.Range("G" & WR - 1) <> .Range("G2")) Then  ' Á`¶q¦³²§°Ê®É¤~°O¿ý
½Æ»s¥N½X
¬O­Ó§¹¥þ¤£¦Pªº±Ô­z¡A¡y_¡z±µÄòªº»y¥y«á­±¬O¤£¯à¦³ªÅ¦æªº¡A§_«h·|¬O­Ó¡u¤£¦Xªkªº»yªk¡v¡C
¥t¥~§A­n­þ­Ó³¡¦ì­nÅã¥Ü¡y²ÊÅé¡z¡A¬O§A­Ó¤H¦Û¦æ³]©wªº¡C½d¨Ò¥u¬O­n§i¶D§A³]©wªº¤èªk¡A
.[A3].Resize(1, 8).Font.FontStyle = "²ÊÅé" ¬O³]©w¸Ó¦æ¥þ¬°¡y²ÊÅé¡z¡A­Y§A¥u­n G Äæ³]©w¬°
¡y²ÊÅé¡z¡A«h«KÀ³§ï¦¨  .[G3].Font.FontStyle = "²ÊÅé"¡CÀH§A­Ó¤H¤§À³¥Î¡C°²³] G2 > 9 ¤~ÅÜ
¬°²ÊÅé¡A«h§ó§ï¦¨¡u .[G3].Font.FontStyle = IIf(.[G2] > 9, "²ÊÅé", "¼Ð·Ç")¡v§Y¥i¡C

TOP

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

¦^´_ 6# ÂŤÑÄR¦À
.

TOP

¦^´_ 5# c_c_lai

¥X²{»yªk¿ù»~¦b¥H¤Uµ{¦¡½X
If (WR = 3) Or _

                (.Range("G" & WR - 1) <> .Range("G2")) Then  ' Á`¶q¦³²§°Ê®É¤~°O¿ý

¥t¥~½Ð±Ð¤@¤UC¤j¡A§Ú¥Ø«e¦bG2¦³³]©w®æ¦¡±ø¥óG2>9¤~ÅܲÊÅé(¤§«á¥i¯àÁÙ·|³]©w§Oªº±ø¥ó¦b²Ä2Ä檺Àx¦s®æ)¡A½Ð±Ð¤@¤UC¤j©pªºµ{¦¡½X¨Æ³£Åý©Ò¦³ªº¼Æ¦rÅܲÊÅé¡AÁÙ¬O¥u¦³²Ä¤GÄæÅܲÊÅ驹¤U¼g¤~ÅܲÊÅé©O??

TOP

        ÀR«ä¦Û¦b : ¡i®É¤é²öªÅ¹L¡j¤@­Ó¤H¦b¥@¶¡°µ¤F¦h¤Ö¨Æ¡A´Nµ¥©ó¹Ø©R¦³¦hªø¡C¦]¦¹¥²¶·»P®É¶¡Ävª§¡A¤Á²ö¨Ï®É¤éªÅ¹L¡C
ªð¦^¦Cªí ¤W¤@¥DÃD