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

¦p¦ó¥ý°õ¦æVBAªºµ{¦¡¦AÂI¿ï¦s®æ¦ì¸m,¤Î§ó§ï©w¸q¦WºÙ

¦p¦ó¥ý°õ¦æVBAªºµ{¦¡¦AÂI¿ï¦s®æ¦ì¸m,¤Î§ó§ï©w¸q¦WºÙ

1.½Ð°Ý¦p¦ó¦b°õ¦ævbaµ{¦¡®É¥i¥H¥ý°õ¦æµ{¦¡¤º®e,µ¥µ{¦¡°õ¦æ¨ì¨ä¤¤ªº¤@­Ó¸ß°Ý®É¦A¨Ì¨Ï¥ÎªÌªº¶·¨DÂI¿ï«D¯SÂIªºÀx¦s®æ,¦p:
­ì¦³§@¥Î¤¤ªºÀx¦s®æ¦b"B3",·íµ{¦¡°õ¦æ¨ì"½ÐÂI¿ï·sªºÀx¦s®æ:"®É,¦b¨Ì¨Ï¥ÎªÌªº¶·¨DÂI¿ï,¥i¯à·|ÂI¿ï"C5"©Î"D8"©Î"E4"©Î.......¦UºØ¥i¯à.
2.­Y"A2"Àx¦s®æ¤w©w¸q¬°"²£«~A",¦Ó"B12"ªºÀx¦s®æ³sµ²¬°="²£«~A",·í"A2"Àx¦s®æ©w¸q¦WºÙ·Q§ï¬°"²£«~F",À³¸Ó¦p¦ó¥HVBA½s¼g,¥H¨Ï±o"A2"¦WºÙ§ï¬°
"²£«~F"«á,"B12"ªºÀx¦s®æ³sµ²·|¦Û°Ê§ï¬°="²£«~F".
(µù:¦bExcel 2003¤¤°õ¦æ,Excel 2003¨S¦³©w¸q¦WºÙ§ó¦Wªº¥\¯à)

¦^´_ 1# º}¬y¤ì
  1. Sub ¤¤³~ÂI¿ï()
  2. Dim s As Date, A As Range
  3. t = Now
  4. Do Until s >= 1 / 11520
  5. s = Now - t
  6. If s >= 1 / 34560 And A Is Nothing Then Set A = Application.InputBox("½ÐÂI¿ïÀx¦s®æ", , , , , , , 8)
  7. Loop
  8. If Not A Is Nothing Then MsgBox A.Address
  9. End Sub
  10. Sub §ó¦W()
  11. Dim n As Name
  12. For Each n In ThisWorkbook.Names
  13.   If n.RefersToRange.Address = "$A$2" Then myname = n.Name: Exit For
  14. Next
  15. If myname = "" Then MsgBox "A2ÁÙ¨S«Ø¥ß¦WºÙ": Exit Sub
  16. newname = InputBox("½Ð¿é¤J·s¦WºÙ", , myname)
  17. ThisWorkbook.Names(myname).Name = newname
  18. ActiveSheet.Cells.Replace myname, newname
  19. End Sub
½Æ»s¥N½X
¾Ç®üµL²P_¤£®¢¤U°Ý

TOP

·PÁ¶W¯Åª©¥D±zªº¦^ÂÐ,§Ú¥H¾Ç²ß¨ì¤F,ÁÂÁÂ

TOP

        ÀR«ä¦Û¦b : ¤H¥Í¨S¦³©Ò¦³Åv¡A¥u¦³¥Í©Rªº¨Ï¥ÎÅv¡C
ªð¦^¦Cªí ¤W¤@¥DÃD