ªð¦^¦Cªí ¤W¤@¥DÃD µo©«

Ãö©ó¤£³sÄò®æªº¥[Á`

Ãö©ó¤£³sÄò®æªº¥[Á`

°ÝÃD¦p¤U

1¡B¦C¼Æ A3~A5¬°ªÅ¥Õ¦C ªº¸Ü¡A¦p¦ó¥[Á` C2~J5 ¨Ã§âµ²ªG©ñ¸mK5¡H


2¡B¦C¼Æ A8~A11¬°ªÅ¥Õ¦C ªº¸Ü¡A¦p¦ó¥[Á` C7~J11¨Ã§âµ²ªG©ñ¸mK11¡H

3¡B°²³]¤µ¤ÑC2~J5 ¬°¤£¯S©wªÅ¥Õ¦C(¨Ò¦p Åܦ¨ C6~J14) ªº¸Ü¡A¨º¸Ó¦p¦óÅÜ°Ê¡H


¦p¹Ï...
¸Õ¤F¥b¤Ñ... ¾ã­Ó²V¶Ã>_<
¤Ó¤[¨S¥Î.. ³£§Ñ¥ú¥ú¤F(²Û·\


¥t¥~¤À¨É
§PÂ_¨Ï¥Î¤¤³Ì¤j¦æ¡B¦C­È¡A¨Ã¥[¥H­pºâ³æ¦C­È
  1.     Dim ux, uy As Integer
  2.     ux = ¤u§@ªí1.UsedRange.Columns.Count '¾î¦V
  3.     uy = ¤u§@ªí1.UsedRange.Rows.Count    'ª½¦V
  4.     qx = ux: qy = uy
  5. For qy = 2 To uy
  6.     ¤u§@ªí1.Cells(qy, ux) = ""
  7.     ¤u§@ªí1.Cells(qy, ux) = Application.WorksheetFunction.Sum(Range(Cells(qy, 3), Cells(qy, ux)))
  8. Next
½Æ»s¥N½X

  ¦h°µ¦h·Q¦h¾Ç²ß¡A¤Ö¬Ý¤Ö¿ù¤Ö°g³~

  ¦h°µ=¦h¦h½m²ß¡A¦h¦h½s¼g¡C
  ¦h·Q=·Q·Q¬°¤°»ò¤H®aµ{¦¡­n¨º¼Ë¼g¡A¦pªG´«¦¨¦Û¤v¡A¤S·|«ç¼g¡C
  ¦h¾Ç²ß=¾Ç²ß¤H®aªºµo°Ý¨Ã¸Ñµª¡A¾Ç²ß¤H®aªº¼gªk

  ¤Ö¬Ý=¥u¬Ý¤£°µ¤]ªPµM

google"EXCEL°g"  blog  ©Îgoogleºô§}:https://hcm19522.blogspot.com/

TOP

¦^´_ 2# hcm19522


    ÁÂÁÂ~ ¦ý ¤è¦¡¸òµª®×¤£¬O§Ú·Q­nªº...
    ©Ò§e²{ªº¤è¦¡µ²ªG...¸ò§Ú©Ò¤À¨Éªºµ{¦¡½X¹B¦æµ²ªG¤@¼Ëªº...
    ¥u¬O·Pı§Úªº¤ñ¸û²³æXD  ¤£¥Î¤@®æ¤@®æ¥h©Ô
    ·Q°Ýªº¬O  ²Î¾ãÁ`©M...

  ¦h°µ¦h·Q¦h¾Ç²ß¡A¤Ö¬Ý¤Ö¿ù¤Ö°g³~

  ¦h°µ=¦h¦h½m²ß¡A¦h¦h½s¼g¡C
  ¦h·Q=·Q·Q¬°¤°»ò¤H®aµ{¦¡­n¨º¼Ë¼g¡A¦pªG´«¦¨¦Û¤v¡A¤S·|«ç¼g¡C
  ¦h¾Ç²ß=¾Ç²ß¤H®aªºµo°Ý¨Ã¸Ñµª¡A¾Ç²ß¤H®aªº¼gªk

  ¤Ö¬Ý=¥u¬Ý¤£°µ¤]ªPµM

TOP

        ÀR«ä¦Û¦b : °µ¸Ó°µªº¨Æ¬O´¼¼z¡A°µ¤£¸Ó°µªº¨Æ¬O·Mè¡C
ªð¦^¦Cªí ¤W¤@¥DÃD