vba¤¤¼g¤J¤½¦¡¡A¤j¤p©ó°ÝÃD
- ©«¤l
- 8
- ¥DÃD
- 3
- ºëµØ
- 0
- ¿n¤À
- 11
- ÂI¦W
- 0
- §@·~¨t²Î
- win7
- ³nÅ骩¥»
- office2010
- ¾\ŪÅv
- 10
- µù¥U®É¶¡
- 2016-5-24
- ³Ì«áµn¿ý
- 2016-7-9
|
vba¤¤¼g¤J¤½¦¡¡A¤j¤p©ó°ÝÃD
³nÅé: office excel
ª©¥»: 2010
±ß¦w¡A¨Ó½Ð±ÐÃö©óvbaÓ°ÝÃD
Yª½±µ¦bexcel¸Ì¥´¤½¦¡
=SUMIFS(¾P°â°O¿ýªí!M:M,¾P°â°O¿ýªí!F:F,">="&A5+TIME(5,0,0),
¾P°â°O¿ýªí!F:F,"<="&A5+TIME(23,0,0))
¬O¥i¥H¶]¥Xµ²ªG¡A¦ý¦pªG§â³o¬q¤½¦¡n¥ÎVBA¼g¡A¸Ó¦p¦ó¼g©O??
¸Õ¹L³o¼Ë
Range("B4").Cells = "=SUMIF(¾P°â°O¿ýªí!F:F,"">=""&A5+TIME(5,0,0),¾P°â°O¿ýªí!M:
M)"
¥i°õ¦æ³£·|³ø¿ù¡A·Pı°ÝÃD¥X¦b >= ³oºØ¹Bºâ¤W±
¤Wzªº¤è¦¡¬O§â¤½¦¡ª½±µ·í¦r¦ê¥á¶i¥h¡A³o¼Ë¬OOKªº¶Ü??¦³µL§ó¥¿½Tªº¼gªk©O??
ÁÂÁÂ |
|
|
|
|
|
|
- ©«¤l
- 8
- ¥DÃD
- 3
- ºëµØ
- 0
- ¿n¤À
- 11
- ÂI¦W
- 0
- §@·~¨t²Î
- win7
- ³nÅ骩¥»
- office2010
- ¾\ŪÅv
- 10
- µù¥U®É¶¡
- 2016-5-24
- ³Ì«áµn¿ý
- 2016-7-9
|
·PÁ¨â¦ìªº¸Ñµª¡A«á¨Ó¦A«¥Î¤@¦¸¡A¥i¥H¤F
¥i¯à¬O²´·úªá¤F@_@¡A¹q¸£¥´¤Ó¤[ |
|
|
|
|
|
|
- ©«¤l
- 2834
- ¥DÃD
- 10
- ºëµØ
- 0
- ¿n¤À
- 2890
- ÂI¦W
- 0
- §@·~¨t²Î
- ¡e²¤¡f
- ³nÅ骩¥»
- ¡e²¤¡f
- ¾\ŪÅv
- 100
- ©Ê§O
- ¨k
- ¨Ó¦Û
- ¡e²¤¡f
- µù¥U®É¶¡
- 2013-5-13
- ³Ì«áµn¿ý
- 2024-11-26
|
Range("B4").Cells = "=SUMIF(¾P°â°O¿ýªí!F:F,"">=""&A5+TIME(5,0,0),¾P°â°O¿ýªí!M:M)"¡@¡Ö¡Ö즡
Range("B6").Value = "=SUMIF(¾P°â°O¿ýªí!F:F,"">=""&A5+TIME(5,0,0),¾P°â°O¿ýªí!M:M)"
Range("B7").Formula = "=SUMIF(¾P°â°O¿ýªí!F:F,"">=""&A5+TIME(5,0,0),¾P°â°O¿ýªí!M:M)"
Range("B5") = "=SUMIF(¾P°â°O¿ýªí!F:F,"">=""&A5+TIME(5,0,0),¾P°â°O¿ýªí!M:M)"
¥H¤W¤½¦¡³£¥i¥H¥¿±`¹B§@, ¤£·|¦³¡e¿ù»~¤¤Â_¡f°ÝÃD¡A
¬O§_¬O¡e¤½¦¡µ²ªGÈ¡f¤£¥¿½T¡H»PSUMIFS¤£¦P¡]¨äpºâ±ø¥ó¤£¦P¡^¡I |
|
|
|
|
|
|
- ©«¤l
- 1018
- ¥DÃD
- 15
- ºëµØ
- 0
- ¿n¤À
- 1058
- ÂI¦W
- 0
- §@·~¨t²Î
- win7 32bit
- ³nÅ骩¥»
- Office 2016 64-bit
- ¾\ŪÅv
- 50
- ©Ê§O
- ¨k
- ¨Ó¦Û
- ®ç¶é
- µù¥U®É¶¡
- 2012-5-9
- ³Ì«áµn¿ý
- 2022-9-28
|
¦^´_ 1# owenchen0911
Range("A1").Formula= |
|
ªí¹F¤£²M¡BÃD·N¤£©ú½T¡B¨SªþÀɮ׮榡¡B¨S¦³°Q½×°ÝÃDªººA«×~~~~~~¥H¤W·R²ö¯à§U¡C
|
|
|
|
|