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

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

¦^´_ 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

¥»©«³Ì«á¥Ñ 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

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

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

¦^´_ 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

        ÀR«ä¦Û¦b : ¡i¥Í©R¦b©I§l¶¡¡j¦òªû»¡¡G¡u¥Í©R¦b©I§l¶¡¡C¡v¤HµLªkºÞ¦í¦Û¤vªº¥Í©R¡A§óµLªk¾×¦í¦º´Á¡AÅý¦Û¤v¥Ã¦í¤H¶¡¡C¬JµM¥Í©R¥h¨Ó³o»òµL±`¡A§Ú­Ì§óÀ³¸Ó¦n¦n¦a·R±¤¥¦¡B§Q¥Î¥¦¡B¥R¹ê¥¦¡AÅý³oµL±`¡BÄ_¶Qªº¥Í©R¡A´²µo¥¦¯uµ½¬üªº¥ú½÷¡A¬M·Ó¥X¥Í©R¯u¥¿ªº»ù­È¡C
ªð¦^¦Cªí ¤W¤@¥DÃD