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

¤@­Ó¤U©Ôµ{¦¡

¤@­Ó¤U©Ôµ{¦¡

¤j¤j­Ì, ¦n
¤p§Ì½Ð¤j¤j­Ì¨ó§U¤@­Ó¤U©Ôµ{¦¡, ªþ¥ó¤¤¦³»¡©ú, ¥ýÁ¹L¤j¤j­Ì,,,,,
aaa.rar (7.87 KB)

¦^´_ 14# FAlonso
³o¼Ë¥u¯à§â2Äæ¤å¦rµ²¦X«áÅã¥Ü
´N¤£¯à¬Ý°µ2­Ó¸ê®Æ
  1. Private Sub ComboBox1_Change()
  2. With ComboBox1
  3. If .ListIndex <> -1 Then
  4. .Text = .List(.ListIndex, 0) & " " & .List(.ListIndex, 1)
  5. [C3] = .Text
  6. End If
  7. End With
  8. End Sub
½Æ»s¥N½X
¾Ç®üµL²P_¤£®¢¤U°Ý

TOP

¦^´_ 12# Hsieh
H¤jªºµ{¦¡¦b¿ï¾Ü¿ï³æªº®É­Ô(§Y«ö¤U­ËÂà¤T¨¤§Î)¤~¯à¬Ý¨£¼Æ¦r+¤å¦r,­Y¦b¥­®É¥u¯à¬Ý¨£¼Æ¦r,½Ð°Ý¯à§_§ï¼g¦Ü¥­±`®É¶¡¤]¯àÅã¥Ü¥X¼Æ¦r + ¤å¦r
80 ¦r¸`¥H¤º
¤£¤ä«ù¦Û©w¸q Discuz! ¥N½X

TOP

¦b¦¹¦A¤@¦¸¦hÁ¦Uª©¥D¤Î¤j¤j­Ì¤À¨É¤Î±Ð¾É, ¤p§Ì«s¤ß·PÁÂ!!

TOP

¥»©«³Ì«á¥Ñ Hsieh ©ó 2011-3-31 19:33 ½s¿è

¦^´_ 11# GBKEE

¤ë¥÷¤º®e¤SÅܰʮɤS­n¤@­ÓChange¨Æ¥óÅo
Sheet1¼Ò²Õ
  1. Private Sub ComboBox1_Change()
  2. [C3] = ComboBox1
  3. End Sub

  4. Private Sub ComboBox1_DropButtonClick()
  5. With Sheets("¤ë¥÷")
  6. Set rng = .Range(.[D2], .[E65536].End(xlUp))
  7. With ComboBox1
  8. .List = rng.Value
  9. .ColumnCount = 2
  10. End With
  11. End With
  12. End Sub
½Æ»s¥N½X
¾Ç®üµL²P_¤£®¢¤U°Ý

TOP

¦^´_ 3# ©P¤j°¶
ThisWorkbook ¥[¤W Workbook_Openµ{§Ç
  1. Private Sub Workbook_Open()
  2.         Dim Sh As Worksheet
  3.         Set Sh = Sheets("¤ë¥÷")
  4.         With Sheets("Sheet2")
  5.             .ComboBox1.List = Sh.Range("d2", Sh.Range("E2").End(xlDown)).Value
  6.             .ComboBox1.ColumnCount = 2
  7.         End With
  8. End Sub
½Æ»s¥N½X

TOP

¦^´_ 1# ©P¤j°¶


    2.gif

TOP

ÁÂÁ¼ӤW¦U¤j¤j, ·P®¦, ¯¬Ä@°·±d, §Ö¼Ö, ÁÂÁÂ!!

TOP

aaa.rar (11.34 KB)

TOP

»¡©ú¹L©ó²µu,¥i¯àÃ㤣¹F·N
Private Sub ComboBox1_Change()
        Dim Sh As Worksheet
        Set Sh = Sheets("¤ë¥÷")
        ComboBox1.List = Sh.Range("d2", Sh.Range("E2").End(xlDown)).Value
        ComboBox1.ColumnCount = 2
        [C3] = ComboBox1.Value
End Sub
¦]°õ¦æ¤¤µo²{Worksheet_SelectionChange¨S¦³Ä²°Ê,¬G±N¨ä¤¤¤@¬q(if§PÂ_¦¡®³±¼)½Æ»s¦ÜComboBox1_Change¤º,¨Ã©ñ¸m©ó«e

TOP

        ÀR«ä¦Û¦b : ¡i°µ¤Hªº¶}©l¡j¨C¤@¤Ñ³£¬O¬G¤Hªº¶}©l¡A¨C¤@­Ó®É¨è³£¬O¦Û¤vªºÄµ±§¡C
ªð¦^¦Cªí ¤W¤@¥DÃD