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

[µo°Ý] VBA°õ¦æ®Éµo¥Í°õ¦æ¶¥¬q¿ù»~''91''

¦^´_ 6# PD961A


    ­ì¦]¦b©ó¼Ó¥D¥u¬O§âÀɮרú¦W¬°2.rar
¹ê½è¤W¸ÓÀɮ׬O.xls
§Ú¤w¸g±N¼Ó¥D­ìÀÉ®×­«·sÀ£ÁY¤W¶Ç
©Ò¥H²{¦b¤w¬O¥¿½Tªº.rar¤F
¾Ç®üµL²P_¤£®¢¤U°Ý

TOP

¥»©«³Ì«á¥Ñ PD961A ©ó 2010-5-26 18:10 ½s¿è

¦^´_ 5# Hsieh
ª©¥D
1#ªþ¥ó¤w§ó·s,¤U¸ü«á¤w¬O¥¿½TrarÀ£ÁYÀÉ
§Úª¾¹D:¤W¶Çªþ¥ó¤£±µ¨üxls°ÆÀɦW
            ­n¥ýÀ£ÁY«á¦A¤W¶ÇÀ£ÁYÀÉ
¥¿±`¬Oª½±µ¸ÑÀ£ÁY´N¥i¥H
¤£¹L¦]¬°¶}¥XªºÀɮ׬O³o¼Ëªºµe­±¤~·|ı±oºÃ°Ý...
ÁÂÁÂ!!



  ¥t¥~¤£¦n·N«ä1#ªþ¥ó§ó·sÀɬO­þ¤@­Ó??·PÁ±z!

TOP

¦^´_ 4# PD961A


    1#ªþ¥ó¤w§ó·s,¤U¸ü«á¤w¬O¥¿½TrarÀ£ÁYÀÉ
¤W¶Çªþ¥ó¤£±µ¨üxls°ÆÀɦW
­n¥ýÀ£ÁY«á¦A¤W¶ÇÀ£ÁYÀÉ
¾Ç®üµL²P_¤£®¢¤U°Ý

TOP

¥»©«³Ì«á¥Ñ PD961A ©ó 2010-5-26 12:41 ½s¿è

·PÁÂHsiehª©¤jªº¸Ñ´b¡A·PÁ¤p»xºÞ¤jªº¦^ÂС]À³¸Ó¬O¤p§Ì¥Ø«eªºÅv­­¤£¨¬¡A©Ò¥H¬Ý¤£¨ì¦Û¤v¤W¶Çªºªþ¥ó¡^

¤p§Ì ...
syuan µoªí©ó 2010-5-26 11:43 [/quote]

HSªO¥D
½Ð°Ý¤U¸ü®Éªº¹ï¸Ü­n¥ÎÀx¦s   ¤U¸ü (46.82 KB)


ÀɮצWºÙª½±µ§âRARªþÀɦW¤@¨Ö¼g¤J


¥i¬O¸Ñ¤£¥XÀÉ®×
½Ð°Ý¨BÆJ­þ¸Ì¦³°ÝÃD?
ÁÂÁÂ!!

TOP

[ª©¥DºÞ²z¯d¨¥]
  • ¤p»x(2010-5-26 22:47): ½Ð¸Ô¾\½×¾Âª©³W¤§ÀɮפW¤U¶Ç­ì«h,Àɮתþ¥ó½Ð¾¨¶q§R°£¤£¥²­n¸ê®Æ«áÀ£ÁY«á¤W¶Ç(«D½Ð¤H®a§ïÀɦW)¡C

¥»©«³Ì«á¥Ñ syuan ©ó 2010-5-26 11:44 ½s¿è

Test.rar (67.5 KB) ·PÁÂHsiehª©¤jªº¸Ñ´b¡A·PÁ¤p»xºÞ¤jªº¦^ÂС]À³¸Ó¬O¤p§Ì¥Ø«eªºÅv­­¤£¨¬¡A©Ò¥H¬Ý¤£¨ì¦Û¤v¤W¶Çªºªþ¥ó¡^

¤p§Ì±Nªí³æ¤@ªºElseIF¤Uªºset¸Ó¥y¡A©ñ¨ì¦pª©¤j©Ò­zªº¦ì¸m¡AªGµM´N¤£¦A¥X²{¨º­Ó°T®§¡]°õ¦æ¶¥¬q¿ù»~91¡A¨S¦³³]©wª«¥óÅܼƩÎwith°Ï¶ôÅܼơ^

¦ý·íÂI¿ïuserform1¸ÌListbox1ªº01.¤é¥»®É¡Auserform1ªºListbox2»PListbox3³£¥iÅã¥Ü¡A¦Óuserform2ªºListbox1¸Ìªº¶µ¥Ø«oµLªkÂI¿ï¡]¦p¤U¹Ï¡^
¡]¤p§Ìªº³o­Óµ{¦¡¬O¥ÎExcelªºVBA¨Ó¶}±ÒpdfÀÉ¡^



·PÁÂ¥ý¶i­Ì¡A¯¬¦w±d¡ã¡ã

ps¡Gªþ¥óªºÀÉ®×°ÆÀɦW¡A½Ð§ï¬°xls¡I
¿ú¬O«Ü±I²öªº¡A©Ò¥H·|·Q¿ìªk»E¦b¤@°_¡I

TOP

¦^´_ 1# syuan


    if±Ô­z¨S³]©w¨ìjp
§ï¦¨
  1. Private Sub ListBox3_Click()
  2. UserForm2.ListBox1.Clear

  3. Set TA = Sheets("sheet1").Range("a2:b6")'³]¸mÅܼÆTA
  4. Set JP = Sheets("sheet1").Range("A10:B14")'³]¸mÅܼÆJP
  5. If UserForm1.ListBox1.ListIndex = 0 And UserForm1.ListBox2.ListIndex = 0 And UserForm1.ListBox3.ListIndex = 0 Then
  6. With UserForm2.ListBox1
  7.      .ColumnCount = TA.Columns.Count
  8.      .ColumnWidths = "100"
  9.      .List = TA.Value
  10. End With
  11. UserForm2.Show
  12. '----------------------------------------------------
  13. ElseIf UserForm1.ListBox1.ListIndex = 1 And UserForm1.ListBox2.ListIndex = 0 And UserForm1.ListBox3.ListIndex = 0 Then
  14. UserForm2.ListBox1.Clear
  15. With UserForm2.ListBox1
  16.      .ColumnCount = JP.Columns.Count
  17.      .ColumnWidths = "100"
  18.      .List = JP.Value
  19. End With
  20. UserForm2.Show
  21. Else
  22. MsgBox "§ä¤£¨ìÀÉ®×"
  23. End If
  24. End Sub
½Æ»s¥N½X
¾Ç®üµL²P_¤£®¢¤U°Ý

TOP

        ÀR«ä¦Û¦b : ¬°¤H³B¥@­n¤p¤ß²Ó¤ß¡A¦ý¤£­n¡u¤p¤ß²´¡v¡C
ªð¦^¦Cªí ¤W¤@¥DÃD