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

[µo°Ý] ¦¹³B»Ý­nª«¥ó

[µo°Ý] ¦¹³B»Ý­nª«¥ó

¦¹³B»Ý­nª«¥ó.rar (16.62 KB)

«ö¤U«ö¶s¡÷¥i¨Ï¥Î
¨Ï¥Î»E¶°¡÷¸õµ¡¡÷°T®§ : ¦¹³B»Ý­nª«¥ó

¥Ø«eºô¸ô§V¤O´M§ä¤¤¡C

¥»©«³Ì«á¥Ñ av8d ©ó 2011-7-19 14:35 ½s¿è

¦^´_ 2# oobird


    ¯uªº«D±`·PÁª©¤jªº¼ö¤ß¦^À³¡A¸Ñ¶}¤F§ÚªºÃøÃD¡C
   
    «ü©w§¹¦¨
    Private Sub Workbook_Open()
    Application.OnKey "^q", "¤u§@ªí1.CommandButton1_Click"
    End Sub
    ¥H¤U¨Ï¥Î¥¿½TµL»~¡A¦ý¬O¤è«K©Ê¤í¨Î¡A¦]¦¹§Ú·Q­×¡C
    Private Sub CommandButton1_Click()
    Cells(2, ActiveCell.Column + 1).Select
    Dim t
        With TextBox1
            If Not .Visible Then
                t = 1 '©ÎInputBox("¿é¤J­­¨î¦r¤¸¼Æ", "WLZ", 3)
                If IsNumeric(t) Then LenStr = t
                If t < 1 Then t = 1
                .Activate
            End If
            .Visible = CommandButton1
        End With
    End Sub
    ¤è«K©Ê¤í¨Î.rar (13.88 KB)
    ¨Ï¥Î¤èªk¡AÂIA1µM«á°õ¦æPrivate Sub CommandButton1_Click()
    §Y¥i§Ö³t¦a¶ñ¤W¼Æ¦r¡A¥B·|¦Û°Ê´«¦æ¡A¤è«K©Ê¤í¨Îªº³¡¤À´N¬O¡A¨C¦¸°õ¦æ«e³£­n«öESC¡A
    ©Ò¥H§Ú·Q±NCall Form_KeyDown(27, 0)¥[¤JPrivate Sub CommandButton1_Click()
    ¥i¬O¤@©ñ¶i¥h´N·|Åã¥Ü¿ù»~¡A¤£ª¾¹DÁÙ¦³¨S¦³¨ä¥Lªº¤èªk¨Ï¨ä§ó«K§Q¡A§Ú±N«ùÄò¤Wºô·j´M¤¤¡C

TOP

With TextBox1 §ï¬°  With ActiveSheet.OLEObjects("TextBox1")

TOP

        ÀR«ä¦Û¦b : ¬Ý§O¤H¤£¶¶²´¡A¬O¦Û¤v­×¾i¤£°÷¡C
ªð¦^¦Cªí ¤W¤@¥DÃD