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

[µo°Ý] Application.inputbox °ÝÃD---[¤w¸Ñ¨M]

¦^´_ 1# swatt
  1. Sub tt()
  2. Dim mycell As Range
  3. Worksheets("sheet1").Activate
  4. On Error Resume Next
  5. Set mycell = Application.InputBox(prompt:="Select a cell", Type:=8)
  6. If mycell Is Nothing Then Exit Sub
  7. End Sub
½Æ»s¥N½X

TOP

¦^´_ 3# swatt
§R±¼ Set   ,«á   mycell = Application.InputBox(prompt:="Select a cell", Type:=8)  
§A1¼Óªºµ{§Ç¤¤If mycell = False Then Exit Sub   ´N¨S°ÝÃD

Set ¬O±N ÅÜ¼Æ «ü©w¬°ª«¥ó , Application.InputBox(promptªºType ¤]¥²¶·¬O8
«ö¤U¨ú®øÁä=¨S¦³±Nª«¥ó«ü©wµ¹ÅÜ¼Æ ¦Ó²£¥Í¿ù»~­È

TOP

        ÀR«ä¦Û¦b : ¥ÌÄ@°µ¡BÅw³ß¨ü¡C
ªð¦^¦Cªí ¤W¤@¥DÃD