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

½Ð°Ý¦p¦ó±N checkbox ³z©ú¤Æ¡H

½Ð°Ý¦p¦ó±N checkbox ³z©ú¤Æ¡H

¦U¦ì¦n
§Ú¥Î¤U¦Cªº¤è¦¡¼W¥[¤@­Ócheck box¡A
¦ýµLªk§ï¦¨³z©úªº
²£¥Í¤§«á¡AÀ˵øÄÝ©Ê¡A
backstyle ½T¹ê¬O"fmBackStyleTransparent"¡A
¦ý­I´º«o¤´¬°¥Õ¦â¡C

½Ð¦U¦ì¨ó§U¸Ñ¨M¡AÁÂÁ¡I

    s = .Cells(Target.Row, Target.Column).Top '©Ò¿ï¾Üªº¥Ø¼Ð¦ì§}
    l = .Cells(Target.Row, Target.Column).Left
    Set ob = ActiveSheet.OLEObjects.Add(ClassType:="Forms.CheckBox.1", Link:=False, _
        DisplayAsIcon:=False, Left:=l + 70, Top:=s + 5, Width:=40, Height:= _
        20)
        ob.Name = "CheckBox" & Target.Row
        ob.Object.AutoSize = True
        ob.Object.BackStyle = 0
        ob.Object.SpecialEffect = 0
        ob.Object.Caption = "¤é"

test.rar (9.81 KB)

§ïÅÜ"G"Ä檺´Ó«K·|¦Û°Ê¥[¤J®Ö¨ú¤è¶ô¡A
¦ý­I´ºµLªk³z©ú¤Æ

½Ð¦U¦ì¨ó§U¡I

TOP

¦^´_ 4# GBKEE


    ­ì¨Ó¦p¦¹¡C
   
    ¤s¤£Âà¸ôÂà¡A§Ú¤Ó°õµÛ³z©ú¤Æ¤F¡A
    ÁÂÁÂGBKEEÂI¿ô§Ú¡I

TOP

        ÀR«ä¦Û¦b : ¦Û¤v®`¦Û¤v¡A²ö¹L©ó¶ÃµoµÊ®ð¡C
ªð¦^¦Cªí ¤W¤@¥DÃD