- ©«¤l
- 835
- ¥DÃD
- 6
- ºëµØ
- 0
- ¿n¤À
- 915
- ÂI¦W
- 16
- §@·~¨t²Î
- Win 10,7
- ³nÅ骩¥»
- 2019,2013,2003
- ¾\ŪÅv
- 50
- ©Ê§O
- ¨k
- µù¥U®É¶¡
- 2010-5-3
- ³Ì«áµn¿ý
- 2024-11-14
|
¦^´_ 3# myleoyes
¨º¬O¦]¬°«ö¨ú®ø®É InputBox ªº¶Ç¦^Ȭ° "False",
¦Ó«DÀx¦s®æªº°Ñ·Ó,
¦ÛµM´NµLªk«ü©wµ¹ Z(Type ¬° Range) ¤F. (µo¥Í¿ù»~¥N½X 424 : ¦¹³B»Ýnª«¥ó)
³o¥i¥H³z¹L¿ù»~³B²z¨Ó¸Ñ¨M:- Sub AA()
- Dim Z As Range
-
- On Error GoTo ErrorAA
- [A1:C1] = ""
- Set Z = Application.InputBox("½Ð¿ï¨ú¸ê®Æ", " ¨Ó·½¼Æ¾Ú", Type:=8)
- If Z <= 0 Then Exit Sub
- N = 3 'N = ActiveCell.Row
- [$D$1] = "=" & Z & "-" & N
- [D1].Select
- On Error Resume Next
- Exit Sub
-
- ErrorAA:
- If Err.Number = 424 Then
- Exit Sub
- Else
- MsgBox ("µo¥Í¿ù»~, ¿ù»~¥N½X : " & Err.Number & " ¿ù»~ì¦] :" & Err.Description)
- Resume Next
- End If
- End Sub
½Æ»s¥N½X |
|