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

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

¡yK = TextBox1.Text
FS = "H:\" & ListBox1.List(ListBox1.ListIndex) & "\" ¡z
³o¬q§ï¦¨ ...
kimbal µoªí©ó 2010-7-13 22:08



·PÁÂkimbal¤jªº±Ð¾Ç¡I

¤p§Ì³o´X¤Ñ¤@ª½¦b¦£§Oªº®×¤l¡A©Ò¥H´N¨S®É¶¡¤W¨Ó¯d¨¥¡I

¤p§Ì±N³o¬qµ{¦¡®M¨ìµ{¦¡¸Ì¡Aµo²{¦³ÂI©Ç©Çªº¡I

¦b¿é¤J¸¹½Xªº®É­Ô¡A¨Ã¨S¿ìªk©¿²¤¥DÀɦW«eªºxxx¨Ó¥´¶}pdfÀÉ¡]¨Ò¦p¥DÀɦW¬°ABC 1111-1990.pdf)

¤´»Ý§¹¥þ¿é¤J¥DÀɦWªº¥þ¦W¤~¥´ªº¶}¡I

²{¦b¥¿¶Ë¸£µ¬³o¬q»yªk¡A¤£ª¾¸Ó«ç»ò­×§ï¡ã¡ã¡ã

°¾°¾²{¦b¤âÀY¤W¤S¦³§Oªº®×¤l¦b¨«¡A¹ê¦bÅý§Ú¨S¿ìªk±M¤ßªº·Q»yªk¡ã¡ã¡]¤µ¤Ñ¶}·|«á¤S¦³ªF¦è­n§Ë¤F¡D¡D¡D¡D¡D¡^
¿ú¬O«Ü±I²öªº¡A©Ò¥H·|·Q¿ìªk»E¦b¤@°_¡I

TOP

·PÁÂkimbal¤jªº±Ð¾Ç¡I

¤p§Ì³o´X¤Ñ¤@ª½¦b¦£§Oªº®×¤l¡A©Ò¥H´N¨S®É¶¡¤W¨Ó¯d¨¥¡I

¤p§Ì±N³o¬qµ{¦¡®M ...
syuan µoªí©ó 2010-7-21 22:53



²{¦b¥Îªº¬O¤£¬OÁÙ¬O³o¥y?
StrFile = Dir(FS & K & "-*.pdf")
¬Oªº¸Ü¥i¥H§ï¦¨³o¥y¸Õ¸Õ
StrFile = Dir(FS & "*" & K & "-*.pdf")
À´±oµo°Ý,µª®×´N·|¦b¨ä¤¤

¤µ¤éの¤@¬íは  ©ú¤éにない
http://kimbalko-chi.blogspot.com
http://kimbalko.blogspot.com

TOP

¥»©«³Ì«á¥Ñ syuan ©ó 2010-8-11 23:24 ½s¿è
²{¦b¥Îªº¬O¤£¬OÁÙ¬O³o¥y?
StrFile = Dir(FS & K & "-*.pdf")
¬Oªº¸Ü¥i¥H§ï¦¨³o¥y¸Õ¸Õ
StrFile = Dir(FS & "*" & K & "-*.pdf")
kimbal µoªí©ó 2010-7-21 23:41


·PÁÂkimbal¤jªº±Ð¾Ç¡I

¤p§Ì¦]ªñ´X­Ó§«ô¬Ò¦b¦£¤½¥qªº±M®×¡AÁö³£¦³¦£¸Ì°½¶¢¨Ó½×¾Â¤WÂI¿ï¡¨¨C¤é³ø¨ì¡¨¥ô°È¨ÓÁÈ¿n¤À¡I

¦ý¨Ã¨S¦³¨Ó¦^Âгo½g¡A¯u¬O¬Æ·P©êºp¡I¡]¦]¤p§Ì¥ç¦b¶i¦æ¸Óµ{¦¡ªº¥t¤@¶µ¥\¯àªºÀɮ׳sµ²¡^

¤p§Ì±N±z©Ò¥Üªº¨º¥y»yªkÁä¤Jµ{¦¡¤¤¡I¤w¯à¶}±Ò·Q­nªºpdfÀɨðõ¦æµL»~¡I


¤ñ¸û¦n©_ªº¬O¨º¥y»yªkStrFile = Dir(FS & "*" & K & "-*.pdf")¬O¤£¬O¸ÑÄÀ¦¨

strfile=¥Ø¿ý¡]¡¨¸ô®|¡¨&¡¨©¿²¤«e¬q¦r¡¨&¡¨¤å¦r²°¸Ìªº¦r¦ê¡¨&¡¨©¿²¤-«áªº¦r¦ê.pdf¡¨¡^

FS="X:\"
K=Textbox1.text


¤£ª¾¤p§Ì³o¼Ë¸ÑÄÀ¬O§_¥i¦æ¡H

¥H¤W¡A¯¬¦w±d¡I
¿ú¬O«Ü±I²öªº¡A©Ò¥H·|·Q¿ìªk»E¦b¤@°_¡I

TOP

¦^´_ 13# syuan


    ¹ï°Ú
À´±oµo°Ý,µª®×´N·|¦b¨ä¤¤

¤µ¤éの¤@¬íは  ©ú¤éにない
http://kimbalko-chi.blogspot.com
http://kimbalko.blogspot.com

TOP

©¿²¤«e¬q¦r....©¿²¤-«áªº¦r¦ê

"©¿²¤"§ï¥Î"¥]§t" ¸ÑÄÀ·|¸û«ê·í!
©Î¬O¸ÑÄÀ¬°Like¤]¦æ~
­Y¬O§Ú¦^µª¡A¨Ï±zº¡·N¡A½Ð±zÅý§Úª¾¹D¡I                  
­Y¬O§Úªº¦^ÂСA±z¤´¦³¨ä¥L¨£¸Ñ¡A¤]½Ð±z¤£¶Þ«ü±Ð¡I

TOP

¥»©«³Ì«á¥Ñ syuan ©ó 2010-11-10 19:42 ½s¿è

Test.rar (14.86 KB)
·PÁÂHsieh¡Bkimbal»PMinªº¦^ÂÐ

³o´X­Ó¤ë¤p§Ì¤@ª½¦b¦£§Oªº®×¤l¡A©Ò¥H´N¨S¿ìªk¤W½u¨Ó¦^ÂСI

ÁöµM³~¤¤¦³¶]¨ì§O©«¥h©µÄò°ÝÃD¡A¦ý¤p§Ì·Q¡D¡D¡DÁÙ¬O¥Î³o©«¦^©«¦n¤F
http://forum.twbts.com/viewthread.php?tid=1199&page=2


¤p§Ì¤S¹J¨ì¤@­Ó°ÝÃD¡A¦p¤U¹Ï
ÂŦâ®Ø¬°¸ê®Æ¡A¥k°¼userform2ªí³æªº¤Wªº¤å¦r¨Ó·½¡A§Y¬O±q¥ª°¼ÂŦâ®Ø¦Ó¨Ó¡]·Æ¹«¨Ì§ÇÂI¿ï1¡B2¡B3«á·|¥X²{userform2)


¥u¬O¤p§Ì¦³¤Ñ¬ðµM·Q¨ì¡A¦pªG¦b²Ä¤C¦C´¡¤J¤@¦C©Î´¡¤J¸ê®Æ«á¡A¨ºuserform2¤Wªº¤å¦r¨Ó·½¬O¤£¬O·|¶]±¼¡H

¤@¸Õ¡ã¡ãªG¤£¨äµM¡A¦p¤U¹Ï


¦]¬°¤p§Ì¬O¥Î
Set TA = Sheets("¥Ò").Range("a2:b6")
Set JP = Sheets("¥Ò").Range("a7:b11")

ªº»yªk¨Ó¼g¡A¤]´N¬O«ü©w¦æ»P¦CªºÀx¦s®æ¨Ó³sµ²¸ê®Æ¡I

¨º¤é«á¦pªG­n¦p²Ä¤G±i¹Ï´¡¤J¸ê®Æ®É¡A¨º»ò¡¨¨C¤@¦æ¡¨¸Ìªºrange°Z¤£¬O­n³s°Ê§ó·s¡D¡D¡D

·Q½Ð°Ý¥ý¶i­Ì¡Avba¬O§_¦³¨ç¼Æ©Î«ü¥O¥i¥H¨Ó§JªA³o­Ó°ÝÃD©O¡H

¥H¤W¡A·PÁ¦U¦ì¡ã¡ã¯¬¦w±d¡I
¿ú¬O«Ü±I²öªº¡A©Ò¥H·|·Q¿ìªk»E¦b¤@°_¡I

TOP

        ÀR«ä¦Û¦b : ¥@¤W¦³¨â¥ó¨Æ¤£¯àµ¥¡G¤@¡B§µ¶¶ ¤G¡B¦æµ½¡C
ªð¦^¦Cªí ¤W¤@¥DÃD