- ©«¤l
- 559
- ¥DÃD
- 58
- ºëµØ
- 0
- ¿n¤À
- 626
- ÂI¦W
- 0
- §@·~¨t²Î
- win8
- ³nÅ骩¥»
- office2013
- ¾\ŪÅv
- 50
- ©Ê§O
- ¨k
- ¨Ó¦Û
- TW
- µù¥U®É¶¡
- 2010-11-22
- ³Ì«áµn¿ý
- 2024-6-14
|
¦^´_ 5# play9091
¬Ý§Aµ{¦¡½Xªº¼gªk~
D=Date-7 'À³¸Ó¬O¥Î¨t²Î¤é´Á´î7¤Ñ,¦A§Q¥ÎDªº¤é´Á¦bPÄæ¦ì¼g¤J¨ç¼Æ=D2-D
Y±znªº¸ò§Ú²z¸Ñªº¬O¤@¼Ëªº¸Ü~
¤U±ªº¤è¦¡´N¥i¥H¸Ñ¨M§Aªº°ÝÃD
¦ý»á¬°©_©Ç~ ¨Ï¥Îvbanªº¦h¼Æ¬O±N¨ç¼Æ¹BºâÂনȱa¤J~ ´î¤Öpºâ~
§AÁÙn±N¨ç¼Æ¼g¥X¨Ó~ ¦A¥h°õ¦æ«áÄò°Ê§@~ ·Pı¦³ÂI~...²æXXXX.....- Sub Week_KPI()
- A = Range("A65536").End(xlUp).Row
- D = Date - 7
- For I = 2 To A
- Range("P" & I).Formula = "=B" & I & ">" & "Date(" & Year(D) & "," & Month(D) & "," & Day(D) & ")"
- Next
- Range("A1:N65536").AdvancedFilter Action:=xlFilterInPlace, _
- CriteriaRange:=Range("P1:Q2"), Unique:=False
- End Sub
½Æ»s¥N½X |
|