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

¦Û°Ê¶ñº¡¿ï¶µ«ö¶s

§Ú¦b¤u§@ªí·s¼W¤@­Ó«ö¶s¡A¦b«ö¶s¸Ì¿é¤JH¤j¤jªºµ{¦¡½X¡A°õ¦æ«á«ö¶s«K®ø¥¢¡A¬O¤£¬O¨Ï¥ÎOLEObject¤èªk«KµLªk¥H¤â°Ê¤è¦¡»s§@«ö¶s©O¡H¡H
Ä_Ä_

TOP

¥»©«³Ì«á¥Ñ hugh0620 ©ó 2012-3-19 15:11 ½s¿è

¦^´_ 4# Hsieh


    H¤j¤j³o¤@©Û¦n~  ¥H«e¨S·Q¹L~  ¤w«á¥i¥H¬Ù«Ü¦h®É¶¡¦b³]©wButtonªº®É¶¡~
   ·P®¦­ò~
¾Ç²ß¤~¯à´£¤É¦Û¤v

TOP

«D±`·PÁÂ
Ä_Ä_

TOP

¦^´_ 3# caichen3
  1. Sub ex()
  2. ActiveSheet.OLEObjects.Delete
  3. For Each a In Range("A:A").SpecialCells(xlCellTypeConstants)
  4.    s = 0
  5.    For i = 1 To 5
  6.    With a.Offset(, i)
  7.       Set ob = ActiveSheet.OLEObjects.Add(ClassType:="Forms.OptionButton.1", _
  8.          Left:=.Left, Top:=.Top, Width:=.Width, Height:=.Height)
  9.          ob.Object.GroupName = "¸s²Õ " & n
  10.    End With
  11.    Next
  12.   n = n + 1
  13. Next
  14. End Sub
½Æ»s¥N½X
¾Ç®üµL²P_¤£®¢¤U°Ý

TOP

¥»©«³Ì«á¥Ñ caichen3 ©ó 2012-3-16 21:34 ½s¿è

«D±`·PÁÂHsieh³á:)
¦pªG§Æ±æ¯à¥H5­Óoptionbutton°µ¬°¤@­Ó¸s²Õ©O¡H¡H
Ä_Ä_

TOP

  1. Sub ex()
  2. ActiveSheet.OLEObjects.Delete
  3. For Each a In Range("A:A").SpecialCells(xlCellTypeConstants)
  4.    For i = 1 To 5
  5.    With a.Offset(, i)
  6.       ActiveSheet.OLEObjects.Add ClassType:="Forms.OptionButton.1", _
  7.          Left:=.Left, Top:=.Top, Width:=.Width, Height:=.Height
  8.    End With
  9.    Next
  10. Next
  11. End Sub
½Æ»s¥N½X
¦^´_ 1# caichen3
¾Ç®üµL²P_¤£®¢¤U°Ý

TOP

        ÀR«ä¦Û¦b : ­n§åµû§O¤H®É¡A¥ý·Q·Q¦Û¤v¬O§_§¹¬üµL¯Ê¡C
ªð¦^¦Cªí ¤W¤@¥DÃD