¦p¦ó¥Î¥¨¶°¦b³Ì«á¤@ÄæÅã¥ÜpºâÁ`©M©O??
- ©«¤l
- 29
- ¥DÃD
- 2
- ºëµØ
- 0
- ¿n¤À
- 32
- ÂI¦W
- 0
- §@·~¨t²Î
- windows 7
- ³nÅ骩¥»
- ±M·~ª©
- ¾\ŪÅv
- 10
- µù¥U®É¶¡
- 2014-3-31
- ³Ì«áµn¿ý
- 2014-7-10
|
¦p¦ó¥Î¥¨¶°¦b³Ì«á¤@ÄæÅã¥ÜpºâÁ`©M©O??
for example:
Á`¦@½d³ò¬°A1:H40
§Ú·Q¦b²ÄG41ªº¦a¤èÅã¥ÜG1¥[¨ìG40ªºÁ`©M¡A¦pªG¤£¥Îsum(G1:G40) ,¦Ó§ï¥Î¥¨¶°¨Ó¼g¸Ó¦p¦ó¼g©O?? |
|
|
|
|
|
|
- ©«¤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# willy1205 - [G41].Value = Application.WorksheetFunction.Sum([G1:G40])
½Æ»s¥N½X |
|
|
|
|
|
|
- ©«¤l
- 28
- ¥DÃD
- 8
- ºëµØ
- 0
- ¿n¤À
- 52
- ÂI¦W
- 0
- §@·~¨t²Î
- WIN XP
- ³nÅ骩¥»
- EXCEL 2003
- ¾\ŪÅv
- 20
- µù¥U®É¶¡
- 2011-6-9
- ³Ì«áµn¿ý
- 2016-12-26
|
Dim cell As Range
Set av1 = Range("G1:G40")
sumi = 0
For Each cell In av1
sumi = sum+i cell.Value
Next cell
'sumi§Y¬°G1:G40ªº¥[Á` |
|
|
|
|
|
|
- ©«¤l
- 28
- ¥DÃD
- 8
- ºëµØ
- 0
- ¿n¤À
- 52
- ÂI¦W
- 0
- §@·~¨t²Î
- WIN XP
- ³nÅ骩¥»
- EXCEL 2003
- ¾\ŪÅv
- 20
- µù¥U®É¶¡
- 2011-6-9
- ³Ì«áµn¿ý
- 2016-12-26
|
©êºp, ¦³¤@¦æ¦³»~,§ó¥¿sumi = sum+i cell.Value ¦p¤U
Dim cell As Range
Set av1 = Range("G1:G40")
sumi = 0
For Each cell In av1
sumi = sumi +cell.Value
Next cell
'sumi§Y¬°G1:G40ªº¥[Á` |
|
|
|
|
|
|