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

Ãö©óComboBox1²M°£°ÝÃD...

Ãö©óComboBox1²M°£°ÝÃD...

¦p½d¨ÒA001...
«ö²M°£®É.«À¦p¦ó±NComboBox1---ComboBox14¤º®e¤]²M°£
¥H§Q¤U¦¸°õ¦æ®É¦A­«·s¬D¿ï
½Ð¦U¦ì°ª¤â«üÂI..
2..VBAµ{¦¡½X¥i§_ºë²..
ÁÂÁÂ...

A001.rar (46.81 KB)

¦^´_ 1# steven
  1. Private Sub CommandButton2_Click()
  2.     Dim E As Object
  3.     Application.EnableEvents = False
  4.     ActiveWindow.SmallScroll Down:=24
  5.     Range("B3:F32").Select
  6.     Range("F32").Activate
  7.     Selection.ClearContents
  8.     ActiveWindow.SmallScroll Down:=-24
  9.     Range("L2:L32").Select
  10.      Selection.ClearContents
  11.     Range("B1").Select
  12.     For Each E In OLEObjects
  13.         If E.Name Like "ComboBox*" Then E.Object.Value = ""
  14.     Next
  15.     Application.EnableEvents = True
  16. End Sub
½Æ»s¥N½X

TOP

¦^´_ 2# GBKEE


    ÁÂÁ¤j¤j«ü¾É..¦ý­YComboBox14¦³¬D¿ï..¬°¦ó°õ¦æ«á·|°±¯d¦bComboBox14¦Ó¤£·|
¸õ¨ìb1..
½Ð«ü¾ÉÁÂÁÂ

TOP

¦^´_ 3# steven


11.    Range("B1").Select ²¾°Ê
12.    For Each E In OLEObjects
13.        If E.Name Like "ComboBox*" Then E.Object.Value = ""
14.    Next
         Range("B1").Select ¨ì¦¹
15.    Application.EnableEvents = True
16.End Sub

»¡©ú
·í E.Name="ComboBox14"  °õ¦æ E.Object.Value = "" ®É
·|°õ¦æ Private Sub ComboBox14_Change()
             '²Ä7²Õ
        [d9] = ComboBox14.Value
            [e9].Select     '³o¸Ì¦³¿ï«ü©w¤@­ÓÀx¦s®æ¡A
          End Sub

TOP

¦^´_ 1# steven


    §Aªº±±¨î¶µÀ³¸ÓÁÙ·|¦A¼W¥[
²M³æ¸ê®Æ¤]¥i¯à¼W¥[
³o¼Ëªºªí³æ«Øij¥Î¸ê®ÆÅçÃÒ
¾Ç®üµL²P_¤£®¢¤U°Ý

TOP

¦^´_ 5# Hsieh


    ÁÂÁ¨â¦ìª©¤j«ü¾É....
  1.¥ÎGBKEE©Ò«ü¾É¥i¥H¦ý¦³¤@¨Æ¤p§Ì¤£¸Ñ
·í§Ú¦³¬D¿ïComboBox1¨ìComboBox14®É
«ö²M°£µLªk¤@¦¸²M°£ComboBox13·|¤@¼Ë¨q¥X
¦Ó¦A«ö¤@¦¸²M°£®É«o¥i¥H....¥þ³¡²M°£..
2. Hsiehª©¤j§Ú¦³¦¡¹L¦ý¬D¿ïª«¥ó¦rÅé¤Ó¤p.....
½Ð¤j¤j¾ÉÁÂÁÂ..

TOP

¦^´_ 6# steven

DoEvents    ±N±±¨îÅv¥æ¦^§@·~¨t²Î,¨Ó³B²z E.Object.Value = " " ªºµe­±
     For Each E In OLEObjects
        If E.Name Like "ComboBox*" Then E.Object.Value = " ": DoEvents
    Next

TOP

¦^´_ 7# GBKEE


    ¤F¸Ñ..ÁÂÁ¤j¼ö¤ß¸Ñ»¡¤p§Ì¥Ñ¤ß·PÁÂ
©|¦³¤@¨Æ½Ð±Ð..
¦pPrivate Sub CommandButton2_Click()
°õ¦æ«á±ý±NCommandButton2¼È®ÉÃö³¬¦Ó°õ¦æ«á­n­«·s¶}±ÒCommandButton2°õ¦æ«á«o¤£¦æ½Ð¤j¤j«ü¾É.......
1.CommandButton2.Visible = False2.CommandButton4.Visible = TrueDim E As Object
    Application.EnableEvents = False
    ActiveWindow.SmallScroll Down:=24
    Range("B3:F32").Select
    Range("F32").Activate
    Selection.ClearContents
    ActiveWindow.SmallScroll Down:=-24
    Range("L232").Select
     Selection.ClearContents
         For Each E In OLEObjects
        If E.Name Like "ComboBox*" Then E.Object.Value = " ": DoEvents
    Next
    Range("a1").Select  
    Application.EnableEvents = True
2.CommandButton2.Visible = True
End Sub

TOP

¦^´_ 8# steven
2.CommandButton2.Visible = True
¤U¤@¦C¥[¤W
CommandButton2.Enabled = True

TOP

·PÁ¤j¤j«ü¾É..

TOP

        ÀR«ä¦Û¦b : ¡i°±º¢¤£«e¡A²×µL©Ò±o¡j¤H³£°g©ó´M§ä©_ÂÝ¡A¦]¦Ó°±º¢¤£«e¡FÁa¨Ï®É¶¡¦A¦h¡B¸ô¦Aªø¡A¤]¤FµL¥Î³B¡A²×µL©Ò±o¡C
ªð¦^¦Cªí ¤W¤@¥DÃD