- ©«¤l
- 80
- ¥DÃD
- 27
- ºëµØ
- 0
- ¿n¤À
- 108
- ÂI¦W
- 0
- §@·~¨t²Î
- windows
- ³nÅ骩¥»
- 2007
- ¾\ŪÅv
- 20
- ©Ê§O
- ¤k
- µù¥U®É¶¡
- 2012-3-6
- ³Ì«áµn¿ý
- 2012-8-23
|
½Ð±Ð¤j¤jÌ~
Y·Qn¦b¥Ø«eÀx¦s®æ«ö¤U¡u´¡¤J¡v«ö¶s¡A·|´¡¤J·sªº¤@¦C¡A¨Ã¥B¦b·sªº¤@¦C¤¤·|·s¼W¤@¦C®Ö¨ú¤è¶ô¡H
¦b¥Ø«eÀx¦s®æ«ö¤U¡u§R°£¡v«ö¶s¡A·|§R°£¾ã¦C¥]¬A©Ò¦b¦Cªº®Ö¨ú¤è¶ô¡H¡H
Private Sub ´¡¤J_Click()
Dim i As Integer
Dim k As Integer
Dim ob As OLEObject
Dim xR As Range
With ActiveSheet
gyou = Selection.Row
ActiveSheet.Rows(gyou ).Insert
Range("M1").Value = Range("M1").Value + 1
k = gyou + 1
Set xR = Cells(k, 3)
For i = 1 To 3
Select Case i
Case "1"
mystr = "¥\¯à©Ê»Ý¨D"
Case "2"
mystr = "·P©x©Ê»Ý¨D"
Case "3"
mystr = "ÁôÂûݨD"
End Select
With xR.Offset(, i)
Set ob = ActiveSheet.OLEObjects.Add(ClassType:="Forms.CheckBox.1", Left:=.Left, Top:=.Top, Width:=.Width, Height:=.Height)
ob.Object.Caption = mystr
End With
Next
End With
End Sub
·í§Ú¦b©Ò¦b¦C«ö¤U¡u´¡¤J¡v¡A©Ò¦b¦C¥»¨Óªº®Ö¨ú¤è¶ô¨Ã¤£·|©¹¤U²¾¡A¦Ó¬O¦b¤U¤@¦C·s¼W®Ö¨ú¤è¶ô¬O¬°¤°»ò©O¡H¡H |
|