¼ÐÃD:
[µo°Ý]
³]©w®æ¦¡¤Æªº±ø¥ó
[¥´¦L¥»¶]
§@ªÌ:
RJR
®É¶¡:
2010-8-29 11:05
¼ÐÃD:
³]©w®æ¦¡¤Æªº±ø¥ó
¨Ò¦p¤@±i¤u§@ªí¸ê®Æ¦p¤U¡G
¡@¡@¡@¡@¡@¢Ï¡@¡@¡@¡@¢Ð¡@¡@¡@¢Ñ¡@¡@¡@¢Ò
¡@¢°¡@2010/9/1¡@09:00¡@¢Ï¢Ï¢Ï¡@¢Ï¢Ï¢Ï¢Ï
¡@¢±¡@2010/9/1¡@09:00¡@¢Ð¢Ð¢Ð¡@¢Ð¢Ð¢Ð¢Ð
¡@¢²¡@2010/9/1¡@11:00¡@¢Ñ¢Ñ¢Ñ¡@¢Ñ¢Ñ¢Ñ¢Ñ
¡@¢³¡@2010/9/1¡@11:00¡@¢Ò¢Ò¢Ò¡@¢Ò¢Ò¢Ò¢Ò
¡@¢´¡@2010/9/1¡@15:00¡@¢Ó¢Ó¢Ó¡@¢Ó¢Ó¢Ó¢Ó
¡@¢µ¡@2010/9/1¡@15:00¡@¢Ô¢Ô¢Ô¡@¢Ô¢Ô¢Ô¢Ô
¡@¢¶¡@2010/9/2¡@09:15¡@¢Õ¢Õ¢Õ¡@¢Õ¢Õ¢Õ¢Õ
¡@¢·¡@2010/9/2¡@09:15¡@¢Ö¢Ö¢Ö¡@¢Ö¢Ö¢Ö¢Ö
¡@¢¸¡@2010/9/2¡@15:00¡@¢×¢×¢×¡@¢×¢×¢×¢×
¢°¢¯¡@2010/9/2¡@15:00¡@¢Ø¢Ø¢Ø¡@¢Ø¢Ø¢Ø¢Ø
¢°¢°¡@2010/9/2¡@16:30¡@¢Ù¢Ù¢Ù¡@¢Ù¢Ù¢Ù¢Ù
¢°¢±¡@2010/9/2¡@16:30¡@¢Ú¢Ú¢Ú¡@¢Ú¢Ú¢Ú¢Ú
¢°¢²¡@2010/9/3¡@10:00¡@¢Û¢Û¢Û¡@¢Û¢Û¢Û¢Û
¢°¢³¡@2010/9/3¡@10:00¡@¢Ü¢Ü¢Ü¡@¢Ü¢Ü¢Ü¢Ü
¢°¢´¡@2010/9/3¡@12:00¡@¢Ý¢Ý¢Ý¡@¢Ý¢Ý¢Ý¢Ý
¢°¢µ¡@2010/9/3¡@12:00¡@¢Þ¢Þ¢Þ¡@¢Þ¢Þ¢Þ¢Þ
¢°¢¶¡@2010/9/3¡@15:00¡@¢ß¢ß¢ß¡@¢ß¢ß¢ß¢ß
¢°¢·¡@2010/9/3¡@15:00¡@¢à¢à¢à¡@¢à¢à¢à¢à
¢°¢¸¡@2010/9/3¡@17:00¡@¢á¢á¢á¡@¢á¢á¢á¢á
¢±¢¯¡@2010/9/3¡@17:00¡@¢â¢â¢â¡@¢â¢â¢â¢â
§Ú»Ýn¦b¨C¤Ñ¤§¶¡¤@¾ã¦Cµe¤@±ø²Ê¹ê½u¡A¥H¤Î¦b¨C³{15:00ªº¤W¤èµe¤@±øÂù½u
®ÄªG¦p¤U¡G
¡@¡@¡@¡@¡@¢Ï¡@¡@¡@¡@¢Ð¡@¡@¡@¢Ñ¡@¡@¡@¢Ò
¡@¢°¡@2010/9/1¡@09:00¡@¢Ï¢Ï¢Ï¡@¢Ï¢Ï¢Ï¢Ï
¡@¢±¡@2010/9/1¡@09:00¡@¢Ð¢Ð¢Ð¡@¢Ð¢Ð¢Ð¢Ð
¡@¢²¡@2010/9/1¡@11:00¡@¢Ñ¢Ñ¢Ñ¡@¢Ñ¢Ñ¢Ñ¢Ñ
¡@¢³¡@2010/9/1¡@11:00¡@¢Ò¢Ò¢Ò¡@¢Ò¢Ò¢Ò¢Ò
ùùùùùùùùùùùùùùùùùùùùùùùùùùùùùùùùùùùùùùùùùùùùùùùùùùùùùùùùùù
¡@¢´¡@2010/9/1¡@15:00¡@¢Ó¢Ó¢Ó¡@¢Ó¢Ó¢Ó¢Ó
¡@¢µ¡@2010/9/1¡@15:00¡@¢Ô¢Ô¢Ô¡@¢Ô¢Ô¢Ô¢Ô
¢w¢w¢w¢w¢w¢w¢w¢w¢w¢w¢w¢w¢w¢w¢w¢w¢w¢w¢w¢w¢w¢w¢w¢w¢w¢w¢w¢w¢w
¡@¢¶¡@2010/9/2¡@09:15¡@¢Õ¢Õ¢Õ¡@¢Õ¢Õ¢Õ¢Õ
¡@¢·¡@2010/9/2¡@09:15¡@¢Ö¢Ö¢Ö¡@¢Ö¢Ö¢Ö¢Ö
ùùùùùùùùùùùùùùùùùùùùùùùùùùùùùùùùùùùùùùùùùùùùùùùùùùùùùùùùùù
¡@¢¸¡@2010/9/2¡@15:00¡@¢×¢×¢×¡@¢×¢×¢×¢×
¢°¢¯¡@2010/9/2¡@15:00¡@¢Ø¢Ø¢Ø¡@¢Ø¢Ø¢Ø¢Ø
¢°¢°¡@2010/9/2¡@16:30¡@¢Ù¢Ù¢Ù¡@¢Ù¢Ù¢Ù¢Ù
¢°¢±¡@2010/9/2¡@16:30¡@¢Ú¢Ú¢Ú¡@¢Ú¢Ú¢Ú¢Ú
¢w¢w¢w¢w¢w¢w¢w¢w¢w¢w¢w¢w¢w¢w¢w¢w¢w¢w¢w¢w¢w¢w¢w¢w¢w¢w¢w¢w¢w
¢°¢²¡@2010/9/3¡@10:00¡@¢Û¢Û¢Û¡@¢Û¢Û¢Û¢Û
¢°¢³¡@2010/9/3¡@10:00¡@¢Ü¢Ü¢Ü¡@¢Ü¢Ü¢Ü¢Ü
¢°¢´¡@2010/9/3¡@12:00¡@¢Ý¢Ý¢Ý¡@¢Ý¢Ý¢Ý¢Ý
¢°¢µ¡@2010/9/3¡@12:00¡@¢Þ¢Þ¢Þ¡@¢Þ¢Þ¢Þ¢Þ
ùùùùùùùùùùùùùùùùùùùùùùùùùùùùùùùùùùùùùùùùùùùùùùùùùùùùùùùùùù
¢°¢¶¡@2010/9/3¡@15:00¡@¢ß¢ß¢ß¡@¢ß¢ß¢ß¢ß
¢°¢·¡@2010/9/3¡@15:00¡@¢à¢à¢à¡@¢à¢à¢à¢à
¢°¢¸¡@2010/9/3¡@17:00¡@¢á¢á¢á¡@¢á¢á¢á¢á
¢±¢¯¡@2010/9/3¡@17:00¡@¢â¢â¢â¡@¢â¢â¢â¢â
½Ð°ÝÀ³¦p¦ó³]¸m¤~¯àÅã¥Ü¦p¦¹®ÄªG©O¡H
«ôÁ¡ã
§@ªÌ:
GBKEE
®É¶¡:
2010-8-29 14:46
¦^´_
1#
RJR
³]©w®æ¦¡¤Æªº±ø¥ó1 ¤½¦¡ =AND(TEXT($B1,"hh:mm")="15:00",TEXT($B65536,"hh:mm")<>"15:00")
³]©w®æ¦¡¤Æªº±ø¥ó2 ¤½¦¡ =$A1<>$A2
¿ï©w½d³ò«á§@¥Î¤¤Àx¦s®æ ¦p¹Ï
[attach]2626[/attach]
2003ª©¥» ³]©w®æ¦¡¤Æªº±ø¥ó, ¥~®Øªº®æ¦¡¨S¦³ Âù¾î½u¥i³] .¸Õ¸Õvba
Sub Ex()
Dim Rng As Range, E As Range, T As Boolean
Set Rng = ActiveSheet.Range("A1:D" & ActiveSheet.[A1].End(xlDown).Row)
T = False
Rng.Borders.LineStyle = xlNone
For Each E In Rng.Rows
If E.Cells(1, 1) = E.Cells(2, 1) And E.Cells(1, 2) = TimeValue("15:00") And T = False Then
T = True
E.Borders(xlTop).LineStyle = xlDouble
ElseIf E.Cells(1, 1) <> E.Cells(2, 1) And E.Row <> Rng.Cells(Rng.Count).Row Then
E.Borders(xlEdgeBottom).LineStyle = xlContinuous
T = False
End If
Next
End Sub
½Æ»s¥N½X
§@ªÌ:
RJR
®É¶¡:
2010-8-29 17:02
¥»©«³Ì«á¥Ñ RJR ©ó 2010-8-29 17:06 ½s¿è
¦^´_
2#
GBKEE
·PÁÂGBKEE¼·¤¾¦^ÂСI
¦ýÁÙ¦³¤Ö³\ªººÃ°Ý¡A
º¥ý¬O¶¡¹j¤£¦P¤é¤lªº¹ê½u¨Ã«D²Ê½u¡]Àx¦s®æCtrl+1¡÷¥~®Ø¡÷½u±ø¼Ë¦¡¡÷¥kÃä˼ƲĤGªº¨ººØ¡^¡A
©Ò¥H·Q½Ð°ÝY»Ýn²Ê¹ê½uªº¸Ü¡AÀ³«ç¼Ë³]¸m¡H
¥t¥~¬O¨ä¹ê§Úªºì¤å¥ó¤¤¨C¦C§¡¦³µê½u¡A
VBA¤¤ªº¡uRng.Borders.LineStyle = xlNone¡v¦ü¥G·|§âµê½u®ø±¼¡AÀ³¦p¦ó¸Ñ¨M¡H
«ôÁ¡ã¡ã
§@ªÌ:
Hsieh
®É¶¡:
2010-8-29 22:16
¦^´_
3#
RJR
Private Sub Worksheet_Change(ByVal Target As Range)
Dim A As Range
For Each A In Range([B2], [B65536].End(xlUp))
With A.Offset(, -1).Resize(, 4).Borders(xlEdgeTop)
If A = TimeValue("15:00:00") And A.Offset(-1, 0) <> TimeValue("15:00:00") Then
.LineStyle = xlDouble
ElseIf A.Offset(, -1) <> A.Offset(-1, -1) Then
.LineStyle = 1
.Weight = xlThick
Else
.LineStyle = 2
.Weight = xlThin
End If
End With
Next
End Sub
½Æ»s¥N½X
§@ªÌ:
RJR
®É¶¡:
2010-8-31 20:28
¦^´_
4#
Hsieh
·PÁ±zªº¼·¤¾¦^ÂСA
°ÝÃD¦¨¥\¸Ñ¨M¡A
ÁÂÁ±z¡C
Åwªï¥úÁ{ ³Â»¶®a±Ú°Q½×ª©ª© (http://forum.twbts.com/)