¦p¦óÅýListBox¥i¥HÀHµÛÀx¦s®æ¤ºªº¼Æ¦rÅܤÆ
- ©«¤l
- 11
- ¥DÃD
- 3
- ºëµØ
- 0
- ¿n¤À
- 14
- ÂI¦W
- 0
- §@·~¨t²Î
- xp
- ³nÅ骩¥»
- 2003
- ¾\ŪÅv
- 10
- µù¥U®É¶¡
- 2010-7-27
- ³Ì«áµn¿ý
- 2017-4-27
|
¦p¦óÅýListBox¥i¥HÀHµÛÀx¦s®æ¤ºªº¼Æ¦rÅܤÆ
¦U¦ì«e½ú½Ð°Ý¤@¤U
¦p¦óÅýListBoxÅã¥Ü¥i¥HÀHµÛÀx¦s®æ(A1)¤ºªº¼Æ¦rÅܤÆ
ÁÙ¬On¥ÎTextbox?? |
|
|
|
|
|
|
- ©«¤l
- 1572
- ¥DÃD
- 16
- ºëµØ
- 2
- ¿n¤À
- 1521
- ÂI¦W
- 0
- §@·~¨t²Î
- xp
- ³nÅ骩¥»
- office 2003
- ¾\ŪÅv
- 150
- ©Ê§O
- ¨k
- µù¥U®É¶¡
- 2010-5-1
- ³Ì«áµn¿ý
- 2016-1-13
|
§â§ïÅܪº»y¥y¼g¦bWorksheet_Change¨Æ¥ó¸Ì¡C |
|
|
|
|
|
|
- ©«¤l
- 11
- ¥DÃD
- 3
- ºëµØ
- 0
- ¿n¤À
- 14
- ÂI¦W
- 0
- §@·~¨t²Î
- xp
- ³nÅ骩¥»
- 2003
- ¾\ŪÅv
- 10
- µù¥U®É¶¡
- 2010-7-27
- ³Ì«áµn¿ý
- 2017-4-27
|
§ÚªºListbox¬O¦buseform¤º¡A©Ò¥H°õ¦æ³£·|¥X²{¿ù»~ |
|
|
|
|
|
|
- ©«¤l
- 11
- ¥DÃD
- 3
- ºëµØ
- 0
- ¿n¤À
- 14
- ÂI¦W
- 0
- §@·~¨t²Î
- xp
- ³nÅ骩¥»
- 2003
- ¾\ŪÅv
- 10
- µù¥U®É¶¡
- 2010-7-27
- ³Ì«áµn¿ý
- 2017-4-27
|
¥i¥H¥Î³á~~
ÁÂÁ¤j¤j~~
·P®¦~~ |
|
|
|
|
|
|
- ©«¤l
- 50
- ¥DÃD
- 12
- ºëµØ
- 0
- ¿n¤À
- 143
- ÂI¦W
- 0
- §@·~¨t²Î
- win xp
- ³nÅ骩¥»
- office 2003
- ¾\ŪÅv
- 20
- ©Ê§O
- ¨k
- ¨Ó¦Û
- EARTH
- µù¥U®É¶¡
- 2010-5-24
- ³Ì«áµn¿ý
- 2015-5-12
|
¤p§Ìªº¼gªk¡]¦n¹³¤ñ¸û¦h¤F¤@ÂI¡D¡D¡D¡D¡D¡D¡^
Private Sub UserForm_Initialize()
Dim xxxx AS Range
Set xxxx = Sheets("xxxx").Range("a1:b2")
With UserForm1.ListBox1
.ColumnCount = xxxx.Columns.Count
.ColumnWidths = "100"
.List = xxxx.Value
End With
End sub
¥H¤W¶È°Ñ¦Ò¡D¡D¡D¡D¡D |
|
¿ú¬O«Ü±I²öªº¡A©Ò¥H·|·Q¿ìªk»E¦b¤@°_¡I
|
|
|
|
|
- ©«¤l
- 50
- ¥DÃD
- 12
- ºëµØ
- 0
- ¿n¤À
- 143
- ÂI¦W
- 0
- §@·~¨t²Î
- win xp
- ³nÅ骩¥»
- office 2003
- ¾\ŪÅv
- 20
- ©Ê§O
- ¨k
- ¨Ó¦Û
- EARTH
- µù¥U®É¶¡
- 2010-5-24
- ³Ì«áµn¿ý
- 2015-5-12
|
¦^´_ 7# GBKEE
·PÁÂGBKEE¤jªº±Ð¾É
¤p§Ì©|¦³¤@¨Æ¤£¸Ñ
¦pªG¦bEXCEL¸Ì¦³¦n´X¶ªº¤À¶(Sheet1¡BSheet2¡BSheet3¡D¡D¡D¡D¡^¡A¤p§Ì¦b#6©Ò¼gªº»yªk¡A´N¬O¦]¬°¦³¦n´X¶ªº¤À¶¡A©Ò¥H¤~³o¼Ë¼g¡I
¤p§Ì¤£¤~¡A¨º¦pªG·Q¥H±z³o¥y»yªk¥hקï¤p§Ìªºµ{¦¡®É¡A½Ð°Ýn¦p¦ó¥h§ï©O¡H
ListBox1.RowSource = xxxx.Address(, , , 1)
µù¡G¥H¤U¬°¤p§Ì®M¥Î±zªº»yªk¨Óקï¡Aµo²{¦n¹³¶È·|¨q¥X²Ä¤@ÓSheetªº¤º®e¦Ó¤w¡I
ElseIf UserForm1.ListBox1.ListIndex = 6 And UserForm1.ListBox2.ListIndex = 1 And UserForm1.ListBox3.ListIndex = 1 Then
With UserForm2.ListBox1
.RowSource = "m5:n8"
.ColumnCount = 2
.ColumnWidths = "100"
End With
UserForm2.Show
¥H¤W¡A¯¬¦w±d¡I |
|
¿ú¬O«Ü±I²öªº¡A©Ò¥H·|·Q¿ìªk»E¦b¤@°_¡I
|
|
|
|
|
- ©«¤l
- 472
- ¥DÃD
- 5
- ºëµØ
- 0
- ¿n¤À
- 485
- ÂI¦W
- 0
- §@·~¨t²Î
- Windows
- ³nÅ骩¥»
- MS Office
- ¾\ŪÅv
- 100
- ©Ê§O
- ¨k
- ¨Ó¦Û
- »´ä
- µù¥U®É¶¡
- 2010-7-4
- ³Ì«áµn¿ý
- 2014-12-28
|
¦^´_ 8# syuan
§Aªº·N«ä¬O¿ï¤@±iªíªº¹ï§a? ¥i¥H³o¼Ëªº
dim strsht as string
strsht ="sheet1"
.....
ElseIf UserForm1.ListBox1.ListIndex = 6 And UserForm1.ListBox2.ListIndex = 1 And UserForm1.ListBox3.ListIndex = 1 Then
With UserForm2.ListBox1
.RowSource = worksheets(strsht).range("m5:n8").address(,,,1)
.ColumnCount = 2
.ColumnWidths = "100"
End With
UserForm2.Show
¥H¤W¦^¶Çsheet1
§âstrsht="sheet1" ´«¦¨ "sheet2" ´N·|¦^¶Çsheet2 ªº |
|
|
|
|
|
|