- ©«¤l
- 5923
- ¥DÃD
- 13
- ºëµØ
- 1
- ¿n¤À
- 5986
- ÂI¦W
- 0
- §@·~¨t²Î
- win10
- ³nÅ骩¥»
- Office 2010
- ¾\ŪÅv
- 150
- ©Ê§O
- ¨k
- ¨Ó¦Û
- ¥xÆW°ò¶©
- µù¥U®É¶¡
- 2010-5-1
- ³Ì«áµn¿ý
- 2022-1-23
|
¥»©«³Ì«á¥Ñ GBKEE ©ó 2012-8-25 15:59 ½s¿è
¦^´_ 1# roy1221
¸Õ¸Õ¬Ý- Option Explicit
- Dim Left_Msg As Boolean 'ªí³æ¨p¥ÎÅܼÆ
- Private Sub CommandButton1_MouseDown(ByVal Button As Integer, ByVal Shift As Integer, ByVal X As Single, ByVal Y As Single)
- 'CommandButton1 «ö¤U«ö¶s ªºÄ²µo¨Æ¥óµ{§Ç
- Left_Msg = True
- Sub_Left
- End Sub
- Private Sub CommandButton1_MouseUp(ByVal Button As Integer, ByVal Shift As Integer, ByVal X As Single, ByVal Y As Single)
- 'CommandButton1 Â÷¶}«ö¶s ªºÄ²µo¨Æ¥óµ{§Ç
- Left_Msg = False 'Left_Msg = False °±¤î°j°é°õ¦æ¤U¥h
- End Sub
- Private Sub Sub_Left() 'Left ¬Ovba¤º«ØÃöÁä¦r,¤Å¬°ÅܼÆ,µ{§Ç¦WºÙ
- '«ö¤U«ö¶s n°õ¦æªºµ{§Ç
- Dim Shift As Integer
- Shift = Range("A7").Value
- ActiveSheet.Shapes("Group 2").Select
- Do While Left_Msg 'Left_Msg = True °j°é°õ¦æ¤U¥h
- DoEvents
- Application.StatusBar = Time 'ª¬ºA¦C¤¤Åã¥Ü®É¶¡ »¡©úµ{§Ç¦b°õ¦æ¤¤
- Selection.ShapeRange.IncrementLeft -Shift * 75
- Loop
- ActiveCell.Activate
- End Sub
½Æ»s¥N½X |
|