¦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
- 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
|
¦^´_ syuan
§Aªº·N«ä¬O¿ï¤@±iªíªº¹ï§a? ¥i¥H³o¼Ëªº
dim strsht as string
strsht ="sheet1"
.. ...
kimbal µoªí©ó 2010-8-31 20:04
·PÁÂkimbal¤jªº±Ð¾É
¤p§Ì¸Õ¤F¤@¤U¡A¨Ã±N±zªº»yªkµy§ï¤F¤@¤U¡]±N«Å§i®³±¼¤F¡^
ElseIf UserForm1.ListBox1.ListIndex = 6 And UserForm1.ListBox2.ListIndex = 2 And UserForm1.ListBox3.ListIndex = 0 Then
With UserForm2.ListBox1
.RowSource = Worksheets("xxxx").Range("M6:N9").Address(, , , 1)
.ColumnCount = 2
.ColumnWidths = "100"
End With
UserForm2.Show
³o¼Ë°õ¦æ«á¡A¤@¼Ë¥i¥H¹F¨ì¤p§Ìì¥ýªº»Ý¨D¡ã¡ã
¤£¹L¤p§Ìì¥ýªºµ{¦¡¬O¦³«Å§iªº¡A¥Î±zªº»yªk«á¡A¤£¦ý¦æ¼Æ´î¤Ö¤F¡Aì¥ýªºªº«Å§i¤]¤£»Ýn¤F¡I¯u¬O¤@Á|¼Æ±o¡I
¤£¹L¤p§Ì¦n©_ªº¬O¡A¦b.range("m6:n9")ªº«á±¦³Ó¥[¤W.Address(,,,1)
¤p§Ì·Q¨Ó·Q¥h¡AÁÙ¬O¤£À´·N«ä¡I§Æ±æ±z©Î¬O¦U¦ì¥ý¶i¯àÀ°¤p§Ì¸Ñ¤@¤U´b¡I
¯¬¦U¦ì¤¤¬î¨Î¸`´r§Ö¡ã¡ã |
|
¿ú¬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 ªº |
|
|
|
|
|
|
- ©«¤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
- 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
- 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®¦~~ |
|
|
|
|
|
|