- ©«¤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
|
¦^´_ 4# owen06 - Public mysize As Range '¼Ò²Õ³»ºÝ¨î©w¬°¦¹¼Ò²Õªº¤½¥ÎÅܼÆ,¨ä¥L¼Ò²Õªºµ{§Ç¥i¨Ï¥Î¦¹ÅܼÆ
- 'Dim mysize As Range '¼Ò²Õ³»ºÝ¨î©w¬°¦¹¼Ò²Õªº¨p¥ÎÅܼÆ,¶È¦¹¼Ò²Õªºµ{§Ç¥i¨Ï¥Î¦¹ÅܼÆ,¨ä¥L¼Ò²Õªºµ{§Ç¤£¥i¨Ï¥Î¦¹ÅܼÆ
- Private Sub CommandButton1_Click()
- 'Dim mysize As Range '¦¹µ{§Çªº¨p¥ÎÅܼÆ,¶È¦¹µ{§Ç¤¤¥i¥Î
- k1 = [I2].Value
- k2 = [i3].Value
- Set mysize = [B2].Resize(k1, k2)
- mysize.clear
- End Sub
- Private Sub CommandButton2_Click()
- 'Dim mysize As Range
- k1 = [I2].Value
- k2 = [i3].Value
- Set mysize = [B2].Resize(k1, k2)
- With mysize
- .Borders.LineStyle = xlContinuous
- .Interior.ColorIndex = 37
- .VerticalAlignment = xlCenter
- .HorizontalAlignment = xlCenter
- End With
- mysize.Cells(1).Select
- End Sub
- '«á±ªºCommandButton??_Click ¤£¦b»Ýn¤F
- Private Sub CommandButton10_Click()
- ActiveCell = CommandButton10.Caption
- End Sub
½Æ»s¥N½X |
|