½Ð°Ý¦p¦ó§PÂ_ºô¶¤w¸g¦Û°Ê§ó·s
- ©«¤l
- 1
- ¥DÃD
- 1
- ºëµØ
- 0
- ¿n¤À
- 2
- ÂI¦W
- 0
- §@·~¨t²Î
- xp
- ³nÅ骩¥»
- office 2003
- ¾\ŪÅv
- 10
- µù¥U®É¶¡
- 2011-7-18
- ³Ì«áµn¿ý
- 2021-2-20
|
½Ð°Ý¦p¦ó§PÂ_ºô¶¤w¸g¦Û°Ê§ó·s
¦U¦ì¤j¤j§A¦n¡G
¦pªG§Ú¦bexcel¤¤ªºvba¡Aµ{¦¡½X¦³¼g¨ìActiveWorkbook.RefreshAll¨Ó§ó·s¸ê®Æ
¦ý¬O§ó·s¸ê®Æ¥²¶·ªá®É¶¡¡]¤j¬ù»Ýn20¬í§a¡^
§Ún«ç¼Ëµ{¦¡¼gªk¨Ó"½T©w¸ê®Æ¤w¸g§ó·s§¹²¦"
µM«á§Ú¤~Ä~Äò¤U±ªºµ{¦¡½X©O¡H
µ{¦¡½X¦p¤U
For i = 100 To 1030
Sheets("¤j½L¶g½u").Select
Cells(1050, 20) = Cells(i, 24)
Cells(1050, 19) = WorksheetFunction.Round(Cells(1050, 20) / 100, 0)
Sheets("²{³f¸ê®Æ").Select
ActiveWorkbook.RefreshAll ´N¬O³o¤@¦æn§ó·sºô¶¸ê®Æ¡A¦ý¬O¥L°õ¦æ«Ü¤[
d2 = Cells(5, 41) / 100000
d1 = Cells(20, 40)
Sheets("¤j½L¶g½u").Select
Cells(i, 15) = WorksheetFunction.Round(d2, 2)
Cells(i, 16) = WorksheetFunction.Round(d1 / d2, 4)
Cells(i, 20) = Cells(1050, 20)
Next i |
|
|
|
|
|
|