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

ComboBox1 Ū¤£¨ì??

ComboBox1 Ū¤£¨ì??

Private Sub ComboBox1_Click()
     [h1].Value = Sheet4.ComboBox1.Text
End Sub
Private Sub ComboBox1_Change()
ComboBox1 = Sheet4.Range("a1:a10")
End Sub

¦Ü©ó§A¤U­±¨º­Ó°ÝÃD¡A§Ú¸ê½è¤£¦n¡A¬Ý¤£¤ÓÀ´§o¡A¦Ü©ó§A¤U­±¨º­Ó°ÝÃD¡A§Ú¸ê½è¤£¦n¡A¬Ý¤£¤ÓÀ´§o¡K
owen06 µoªí©ó 2014-4-1 09:39


§Ú¸Õ¥X¨Ó¤F
Sheet4.ComboBox1.Text====>´N¬O®Ø®Øªº¼Æ¦r
Private Sub ComboBox1_GotFocus()
Sheet4.ComboBox1.Text = Sheet4.Range("b1").Value
ComboBox1.List = Sheet4.Range("a1:a10").Value
End Sub

TOP

¦^´_ 5# t8899

­nIJ°Ê³o­Ó±ø¥ó¡A³o¼Ë³]´N¦æ¤F¡A¦Ü©ó§A¤U­±¨º­Ó°ÝÃD¡A§Ú¸ê½è¤£¦n¡A¬Ý¤£¤ÓÀ´§o¡K
  1. Private Sub ComboBox1_Click()
  2. [h1].Value = Sheet4.ComboBox1.Text
  3.      With Sheet4.ComboBox1
  4.              .Clear
  5.              .AutoSize = True
  6.              .AddItem Sheet1.[m2].Value + 4
  7.      End With
  8. [h1].Select
  9. End Sub
½Æ»s¥N½X

TOP

¦^´_  t8899

¦]¬°§A¬O¥Îcombobox change¡A¦pªG§A¨S§ïÅܤº®e¡A°Ê§@´N¤£·|°õ¦æ¡A©Ò¥H¤£·|¥h§ì¸ê®Æ
¥Îgot ...
owen06 µoªí©ó 2014-3-31 15:56

®Ø®Ø ªº¼Æ­È10000 ¦³µL¿ìªk¥t¥~«ü©wµ¥©ób1ªº­È??
1030332.jpg

TOP

¦^´_  t8899

¦]¬°§A¬O¥Îcombobox change¡A¦pªG§A¨S§ïÅܤº®e¡A°Ê§@´N¤£·|°õ¦æ¡A©Ò¥H¤£·|¥h§ì¸ê®Æ
¥Îgot ...
owen06 µoªí©ó 2014-3-31 15:56


¤U­±³o¬q­n¥Î¦ó¤èªk¨ÓIJ°Ê¸û¦n??
  With Sheet4.ComboBox1
                        .Clear
                       .AutoSize = True
                       .AddItem Sheet1.[m2].Value + 4
                      End With

TOP

¦^´_ 3# t8899

¦]¬°§A¬O¥Îcombobox change¡A¦pªG§A¨S§ïÅܤº®e¡A°Ê§@´N¤£·|°õ¦æ¡A©Ò¥H¤£·|¥h§ì¸ê®Æ
¥Îgotfocus´N¥i¥H¤F
  1. Private Sub ComboBox1_GotFocus()
  2. ComboBox1.List = Sheet4.Range("a1:a10").Value
  3. End Sub
½Æ»s¥N½X

TOP

¦^´_  t8899
ComboBox1 Ū¤£¨ì?? ­n¬Ý¬Ý§AªºÀÉ®×
GBKEE µoªí©ó 2014-3-30 16:01


Book4.rar (17.26 KB)

TOP

¦^´_ 1# t8899
ComboBox1 Ū¤£¨ì?? ­n¬Ý¬Ý§AªºÀÉ®×
  1. Private Sub ComboBox1_Change()
  2. ComboBox1.List = Sheet4.Range("a1:a10").Value
  3. End Sub
½Æ»s¥N½X
·P®¦ªº¤ß......(¦b³Â»¶®a±Ú°Q½×°Ï.¥Î¤ß¾Ç²ß·|¦³¶i¨Bªº)
¦ý¸ê·½µL­­,«á´©¦³­­,  ¤@¤Ñ1¤¸ªºÃÙ§U,¤H¤H¦³¯à¤O.

TOP

        ÀR«ä¦Û¦b : ª¾ÃÑ­n¥Î¤ßÅé·|¡A¤~¯àÅܦ¨¦Û¤vªº´¼¼z¡C
ªð¦^¦Cªí ¤W¤@¥DÃD