½Ð°Ý§Ú¦p¦ó±N®w¦sªº¬¡¶ªº¸ê®Æ,±N¥¦Àx¦s¨ì¦U¬¡¶Ã¯?
- ©«¤l
- 40
- ¥DÃD
- 10
- ºëµØ
- 0
- ¿n¤À
- 83
- ÂI¦W
- 0
- §@·~¨t²Î
- winxp
- ³nÅ骩¥»
- office2003
- ¾\ŪÅv
- 20
- µù¥U®É¶¡
- 2011-6-3
- ³Ì«áµn¿ý
- 2020-10-1
|
½Ð°Ý§Ú¦p¦ó±N®w¦sªº¬¡¶ªº¸ê®Æ,±N¥¦Àx¦s¨ì¦U¬¡¶Ã¯?
½Ð°Ý§Ú¦p¦ó±N®w¦sªº¬¡¶ªº¸ê®Æ,±N¥¦Àx¦s¨ì¦U¬¡¶Ã¯°µ¥[Á`,¨Ò¦p:100A¦b6/1·í¤ÑÁ`¨Ñ¶R¤F¦h¤Öөνæ¤F¦h¤ÖÓ,§â¥¦¦s¨ì¥x¥_ªº¬¡¶¤¤¹³¶À¦âªº¼Ë¤l.ÁÂÁ§A¯àÀ°¦£.
TEST.rar (5.88 KB)
|
|
|
|
|
|
|
- ©«¤l
- 40
- ¥DÃD
- 10
- ºëµØ
- 0
- ¿n¤À
- 83
- ÂI¦W
- 0
- §@·~¨t²Î
- winxp
- ³nÅ骩¥»
- office2003
- ¾\ŪÅv
- 20
- µù¥U®É¶¡
- 2011-6-3
- ³Ì«áµn¿ý
- 2020-10-1
|
ÁÂÁÂHsieh ¤j¤j,§Ú²×©ó¤F¸Ñ¤F,ÁÂÁ§A... |
|
|
|
|
|
|
- ©«¤l
- 4901
- ¥DÃD
- 44
- ºëµØ
- 24
- ¿n¤À
- 4916
- ÂI¦W
- 240
- §@·~¨t²Î
- Windows 7
- ³nÅ骩¥»
- Office 20xx
- ¾\ŪÅv
- 150
- ©Ê§O
- ¨k
- ¨Ó¦Û
- ¥x¥_
- µù¥U®É¶¡
- 2010-4-30
- ³Ì«áµn¿ý
- 2024-11-6
|
.UsedRange.Columns.AutoFit
.Range(.Cells(2, s), .Cells(L, s)).FormatConditions.Add Type:=xlCellValue, Operator:=xlGreaterEqual _
, Formula1:="10000"
.Range(.Cells(2, s), .Cells(L, s)).FormatConditions(1).Font.ColorIndex = 3
.Range(.Cells(2, s + 1), .Cells(L, s + 1)).FormatConditions.Add Type:=xlCellValue, Operator:=xlGreaterEqual _
, Formula1:="10000"
.Range(.Cells(2, s + 1), .Cells(L, s + 1)).FormatConditions(1).Font.ColorIndex = 5 |
|
¾Ç®üµL²P_¤£®¢¤U°Ý
|
|
|
|
|
- ©«¤l
- 40
- ¥DÃD
- 10
- ºëµØ
- 0
- ¿n¤À
- 83
- ÂI¦W
- 0
- §@·~¨t²Î
- winxp
- ³nÅ骩¥»
- office2003
- ¾\ŪÅv
- 20
- µù¥U®É¶¡
- 2011-6-3
- ³Ì«áµn¿ý
- 2020-10-1
|
Hsieh¤j¤j§A¦n,§Ú§â¥¦×§ï«á,§Ú·Q°µ³]©w²¦¡¤Æ,¦p¦ó¤£¿E¬¡¦U¬¡¶¦Ó¯à¹F¨ìn¨D,
Sub ext()
Dim a As Range, i As Integer, c As Integer
Set dic = CreateObject("Scripting.Dictionary")
Set d = CreateObject("Scripting.Dictionary")
With Sheets("®w¦s")
i = 1
Do Until .Cells(1, i) = ""
myday = .Cells(1, i).Value
For Each a In .Range(.Cells(2, i), .Cells(.Rows.Count, i).End(xlUp))
ar = Array(a.Offset(, 3), a.Offset(, 4))
If IsEmpty(dic(a & d(Val(a)))) Then
dic(a & d(Val(a))) = ar
Else
dic(a & d(Val(a))) = Array(dic(a & d(Val(a)))(0) + ar(0), dic(a & d(Val(a)))(1) + ar(1))
End If
Next
For c = 2 To Worksheets.Count
With Sheets(c)
s = .Cells(2, .Columns.Count).End(xlToLeft).Column + 1
.Cells(1, s) = myday: .Cells(2, s) = "¶R¶i": .Cells(2, s + 1) = "½æ¥X"
For Each a In .Range(.[A3], .Cells(.Rows.Count, 1).End(xlUp))
.Cells(a.Row, s).Resize(, 2) = dic(a & d(Val(a)))
L = a.Row
Next
Sheets(c).Select .UsedRange.Columns.AutoFit
.Range(.Cells(2, s), .Cells(L, s)).Select
Selection.FormatConditions.Add Type:=xlCellValue, Operator:=xlGreaterEqual _
, Formula1:="10000"
Selection.FormatConditions(1).Font.ColorIndex = 3
.Range(.Cells(2, s + 1), .Cells(L, s + 1)).Select
Selection.FormatConditions.Add Type:=xlCellValue, Operator:=xlGreaterEqual _
, Formula1:="10000"
Selection.FormatConditions(1).Font.ColorIndex = 5
End With
Next c
dic.RemoveAll: d.RemoveAll
i = i + 5
Loop
End With
End Sub |
|
|
|
|
|
|
- ©«¤l
- 40
- ¥DÃD
- 10
- ºëµØ
- 0
- ¿n¤À
- 83
- ÂI¦W
- 0
- §@·~¨t²Î
- winxp
- ³nÅ骩¥»
- office2003
- ¾\ŪÅv
- 20
- µù¥U®É¶¡
- 2011-6-3
- ³Ì«áµn¿ý
- 2020-10-1
|
ÁÂÁÂHsieh ¶W¯Åª©¥D,§Úª¾¹D§Aªº·N«ä¤F,¤]ÁÂÁÂfreeffly¤j¤jªºÀ°¦£... |
|
|
|
|
|
|
- ©«¤l
- 4901
- ¥DÃD
- 44
- ºëµØ
- 24
- ¿n¤À
- 4916
- ÂI¦W
- 240
- §@·~¨t²Î
- Windows 7
- ³nÅ骩¥»
- Office 20xx
- ¾\ŪÅv
- 150
- ©Ê§O
- ¨k
- ¨Ó¦Û
- ¥x¥_
- µù¥U®É¶¡
- 2010-4-30
- ³Ì«áµn¿ý
- 2024-11-6
|
¦^´_ 4# flask
¸ê®ÆÀ³¿í¦u¸ê®Æ®w«Ø¥ß³W«hn°µ¤ÀªR´N¤ñ¸û¤è«K
¥H§A¥Ø«eªº¸ê®Æn¤À¶À˵øµ{¦¡½X¦p¤U- Sub ex()
- Dim a As Range
- Set dic = CreateObject("Scripting.Dictionary")
- Set d = CreateObject("Scripting.Dictionary")
- With Sheets("®w¦s")
- i = 1
- Do Until .Cells(1, i) = ""
- myday = .Cells(1, i).Value
- For Each a In .Range(.Cells(2, i), .Cells(.Rows.Count, i).End(xlUp))
- If IsEmpty(d(Val(a))) Then d(Val(a)) = a.Offset(, 1).Value
- ar = Array(a.Offset(, 3), a.Offset(, 4))
- If IsEmpty(dic(a & d(Val(a)))) Then
- dic(a & d(Val(a))) = ar
- Else
- dic(a & d(Val(a))) = Array(dic(a & d(Val(a)))(0) + ar(0), dic(a & d(Val(a)))(1) + ar(1))
- End If
- Next
- For Each ky In d.items
- With Sheets(ky)
- s = .Cells(2, .Columns.Count).End(xlToLeft).Column + 1
- .Cells(1, s) = myday: .Cells(2, s) = "¶R": .Cells(2, s + 1) = "½æ"
- For Each a In .Range(.[A3], .Cells(.Rows.Count, 1).End(xlUp))
- .Cells(a.Row, s).Resize(, 2) = dic(a & ky)
- Next
- End With
- Next
- dic.RemoveAll: d.RemoveAll
- i = i + 5
- Loop
- End With
- End Sub
½Æ»s¥N½X |
|
¾Ç®üµL²P_¤£®¢¤U°Ý
|
|
|
|
|
- ©«¤l
- 40
- ¥DÃD
- 10
- ºëµØ
- 0
- ¿n¤À
- 83
- ÂI¦W
- 0
- §@·~¨t²Î
- winxp
- ³nÅ骩¥»
- office2003
- ¾\ŪÅv
- 20
- µù¥U®É¶¡
- 2011-6-3
- ³Ì«áµn¿ý
- 2020-10-1
|
¦^´_ 2# freeffly
¹Ï¶K¤£¥X¨Ó
±N¸ê®Æ®æ¬O§ï¦¨ªþÀɪº®æ¬OÀ³¸Ó·|¤ñ¸û¦n
¦bAÄæ´¡¤J¤@Äæ·í¤é´ÁÄæ¡A쥻¦³Åã²{¥x¥_¨º¨Çªº¤£n¥ÎÁY±Æ
³o¼Ë¸ê®Æ·|¤ñ¸û¦n³B²z
freeffly¤j¤jÁÂÁ§A,¬Ý¤£¤ÓÀ´§Aªº·N«ä! |
|
|
|
|
|
|
- ©«¤l
- 586
- ¥DÃD
- 123
- ºëµØ
- 0
- ¿n¤À
- 763
- ÂI¦W
- 0
- §@·~¨t²Î
- WINDOW7
- ³nÅ骩¥»
- Office 2003
- ¾\ŪÅv
- 50
- ©Ê§O
- ¨k
- µù¥U®É¶¡
- 2010-5-16
- ³Ì«áµn¿ý
- 2017-3-14
|
¦^´_ 2# freeffly
¹Ï¶K¤£¥X¨Ó
±N¸ê®Æ®æ¬O§ï¦¨ªþÀɪº®æ¬OÀ³¸Ó·|¤ñ¸û¦n
¦bAÄæ´¡¤J¤@Äæ·í¤é´ÁÄæ¡A쥻¦³Åã²{¥x¥_¨º¨Çªº¤£n¥ÎÁY±Æ
³o¼Ë¸ê®Æ·|¤ñ¸û¦n³B²z
[attach]6491[/attach] |
|
¦r¨å¨â¦U¦r ÁÙ¯uÃø²z¸Ñ
|
|
|
|
|
- ©«¤l
- 586
- ¥DÃD
- 123
- ºëµØ
- 0
- ¿n¤À
- 763
- ÂI¦W
- 0
- §@·~¨t²Î
- WINDOW7
- ³nÅ骩¥»
- Office 2003
- ¾\ŪÅv
- 50
- ©Ê§O
- ¨k
- µù¥U®É¶¡
- 2010-5-16
- ³Ì«áµn¿ý
- 2017-3-14
|
¦^´_ 1# flask
§Úı±o§Aªº¸ê®Æ¦pªG¬O³o¼Ë·|¤ñ¸û¦n³B²z
¤À¨ì¨ä¥L¤u§@ªí¤§«án°µ·JÁ`¤]¤ñ¸û¤è«K
[attach]6490[/attach] |
|
¦r¨å¨â¦U¦r ÁÙ¯uÃø²z¸Ñ
|
|
|
|
|