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

¦h¿ïCheckBoxªºVBA«ç»ò¼g¡H

¦^´_ 2# Hsieh
¤£¦n·N«ä , ·Q½Ð±Ð¤@¤U
Me.OLEObjects ¬O¤£¬O«ü¸Ó¤u§@ªíªº©Ò¦³ActiveX±±¨î¶µ? ¤£§tªí³æ±±¨î¶µ?

ÁÙ¦³  Ct.progID = "Forms.CheckBox.1"
±±¨î¶µªºprogID­n«ç»ò±oª¾ ?  ".1" ¦³¯S§O·N¸q¶Ü?
¨ä¥Lªº±±¨î¶µ¤]¬O¦P¼Ë®æ¦¡¶Ü?

TOP

¦^´_ 4# Hsieh
ÁÂÁª©¤j¶}¥Ü~

TOP

¾ã²z¤@¤U , ¦³¿ù½ÐÀ°§Ú«ü¥¿~

ªí³æ¤Wªº±±¨î¶µ :
        ¨Ï¥Î"ªí³æ"ªºControls¹M¾ú ,
        §ä¯S©wÃþ«¬¥ÎTypeNameÀˬd

¤u§@ªí¤WªºactiveX±±¨î¶µ :
        ¨Ï¥Î"¤u§@ªí"ªºOLEObjects¹M¾ú ,
        §ä¯S©wÃþ«¬¥ÎprogIDÀˬd

¤u§@ªí¤Wªºªí³æ±±¨î¶µ :
        ¦b"¤u§@ªí"ªºshapes¤¤ , Type = msoFormControl ªº shape ,
        ±±¨î¶µÄݩʦbshape.ControlFormat¤U ,
        §ä¯S©wÃþ«¬¥Îshape.FormControlTypeÀˬd

TOP

        ÀR«ä¦Û¦b : ¤£©È¨Æ¦h¡A¥u©È¦h¨Æ¡C
ªð¦^¦Cªí ¤W¤@¥DÃD