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

¦p¦ó¨Ï¥ÎVBA¼¶¼g¨ç¼Æ¤½¦¡(±N²Å¦XªºÀx¦s®æ¦ì§}¥[¤J¨ç¼Æ¤½¦¡¤¤)-¤w¦Û¦æ¸Ñ¨M

¦p¦ó¨Ï¥ÎVBA¼¶¼g¨ç¼Æ¤½¦¡(±N²Å¦XªºÀx¦s®æ¦ì§}¥[¤J¨ç¼Æ¤½¦¡¤¤)-¤w¦Û¦æ¸Ñ¨M

¥»©«³Ì«á¥Ñ MRSA ©ó 2010-11-21 19:23 ½s¿è

°²©w A1 ~ A30 Äæ¦ì¤¤, A3,A11,A28 ¤T­ÓÄæ¦ìªº¼Æ­È¬° m, §Ú­n¦bD2Äæ¦ì¸Ì,¥HVBA²£¥Í¤@­Ó "=A3+A11+A28" ªº¤½¦¡
¥Ñ©ó m ¼Æ­È·|¦bA1~A30¤ºÅÜ°Ê(¤£¨£±o¨C¦¸³£·|¦b¬Û¦PÄæ¦ì¸Ì). §Ú­n¦p¦ó¼¶¼gVBA»yªkÅý¥¦¦Û°Ê§PÂ_²Å¦XªºÄæ¦ì,¨Ã¦bD2Äæ¦ì¸Ì²£¥Í¹ïÀ³ªº¥[Á`¤½¦¡.

¦p¦ó¨Ï¥ÎVBA¼¶¼g¨ç¼Æ¤½¦¡(±N²Å¦XªºÀx¦s®æ¦ì§}¥[¤J¨ç¼Æ¤½¦¡¤¤)-¤w¦Û¦æ¸Ñ¨M

Range("G1").Value = "="
Range("A1").Select
If ActiveCell.Value = "m" Then
o2 = ActiveCell.Address
o3 = Range("G1").value
Range("G1").value = o3 + o2
Selection.Offset(1).Select
Else: Selection.Offset(1).Select
End If
For i2 = 1 to 29
If ActiveCell.Value = "m" Then
o5 = ActiveCell.Address
o6 = Range("G1").Formula
Range("G1").value = o6 + "+" + o5
Selection.Offset(1).Select
End If
Next i2

TOP

        ÀR«ä¦Û¦b : §g¤l¬°¥Ø¼Ð¡A¤p¤H¬°¥Øªº¡C
ªð¦^¦Cªí ¤W¤@¥DÃD