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

[µo°Ý] ÀɮצX¨Ö«á¦Û­qÀɮצWºÙ

[µo°Ý] ÀɮצX¨Ö«á¦Û­qÀɮצWºÙ

·Q½Ð±Ð±M·~ªº¤j¤j­Ì

¤pªº¤w¦³¥ý§ä¹L¤F¡Aµo²{¨S¦³µo²{¸Ñµª¡A¯S¨Ó´£°Ý

°ÝÃD¦p¤U¡G

­n¦X¨ÖCSVªºÀɮסA¦b¦X¨Ö®É¥i¥H¦Û­qÀɮצWºÙ

¦b¢Ñ¼Ñ¤U¦³4­ÓCSVÀÉ¡A¨Ï¥Îµ{¦¡°õ¦æ®É¡A¥ý¸õ¥X¥i¿é¤JÀɦWªºµøµ¡¡A¿é¤J«á¦X¨Ö¡A§¹¦¨

¦X¨Ö§¹ªºÀÉ®×¥i©ñ¦b¦P¤@­Ó¸ê®Æ§¨¡A¨Ã¤£­n§R±¼­ì¦X¨Öªº¢³­ÓCSVÀÉ

½Ð°Ý¥i¥ÎVBAµ{¦¡¼g¥X¶Ü

¦^´_ 1# iceadagio
ª½±µ¥Îcommand¤Uªº copy «ü¥O¦ê±µ¤å¦rÀÉ
  1. Sub Test()
  2.     Dim f1, f2
  3.     f1 = Application.GetOpenFilename("CSV Files, *.csv", , "½Ð¿ï¾Ü­n¦X¨ÖªºÀÉ®×", , True)
  4.     If TypeName(f1) = "Boolean" Then Exit Sub
  5.     f2 = Application.GetSaveAsFilename("¦X¨Ö", "CSV Files,*.csv", , "Àx¦s¨ì...")
  6.     If TypeName(f2) = "Boolean" Then Exit Sub
  7.     Shell "cmd.exe /C copy " & Join(f1, "+") & " " & f2
  8. End Sub
½Æ»s¥N½X
ªí¹F¤£²M¡BÃD·N¤£©ú½T¡B¨SªþÀɮ׮榡¡B¨S¦³°Q½×°ÝÃDªººA«×~~~~~~¥H¤W·R²ö¯à§U¡C

TOP

¦^´_ 2# stillfish00


    Stillfish00¤j¤j
¨Ï¥Î§A½s¼gªº·|¥X²{¿ï¾Ü­n¦X¨ÖªºÀɮשM­n©R¦WªºÀÉ®×
¥u¬O³Ì«á¨S¥X²{¦X¨Ö«áªºÀÉ®×

¤pªº¥Ø«e¥u·|¥Î¨ì¦X¨Ö
µ{¦¡½X¦p¤U

Sub csv¦X¨Ö¡]¡^
Shell "come.exe /c " & " copy c:\*.csv c:\1.csv" , vbnormalfocus
End sub

½Ð°Ý­n¦X¨ÖªºÀɦW¥i¥H¥Î¹³inputboxª½±µ¿é¤J´N§¹¦¨¶Ü

TOP

¦^´_ 2# stillfish00


Stillfish00¤j¤j

¤pªº¨Ï¥Î2010ª©½T©w¥i¥H¨Ï¥Î
¤£¹L¤½¥qªº¬O2007ª©
½Ð°Ý­n°µ¤°»ò­×§ï¤~¥i¥H¦b2007ª©¨Ï¥Î?

TOP

½Ð°Ý Application.GetOpenFilename¡AApplication.GetSaveAsFilename¡Ajoin µ¥¤@Ãþ»yªkÀ³±q¦ó¤J¤â¤~¯à¤F¸Ñ§ó¦h(¦p®ÑÂÇ¡AÃöÁä¦r)¡H¦]¤@¯ëªºvba±Ð§÷³£¥u±Ð±Âfunction¡C¦p¯à´£ÂI¡A·P¿E¸U¤À¡I

¦^´_  iceadagio
ª½±µ¥Îcommand¤Uªº copy «ü¥O¦ê±µ¤å¦rÀÉ
stillfish00 µoªí©ó 2016-6-8 11:14

TOP

¦^´_ 4# iceadagio
³o¬O¥Î2007ª©¼gªº¡A½Ð°Ñ¦Ò¡C
¦X¨ÖCSV.zip (16.9 KB)

TOP

¦^´_ 7# iceadagio
¸Õ¸Õ¬Ýºô¸ôµwºÐ¡C
http://www.FunP.Net/32685

TOP

¦^´_ 5# zxcxz
¤wª¾ function ¦WºÙ¡A¨ì»¡©ú¤º¬d¸ß´N¯à¤F¸Ñ§ó¦h¤F
ªí¹F¤£²M¡BÃD·N¤£©ú½T¡B¨SªþÀɮ׮榡¡B¨S¦³°Q½×°ÝÃDªººA«×~~~~~~¥H¤W·R²ö¯à§U¡C

TOP

¦^´_ 4# iceadagio
2007­þ­Ó¦a¤è¥X¿ù?
§Ú¨S2007®£©ÈµLªk¦^µª¡C
ªí¹F¤£²M¡BÃD·N¤£©ú½T¡B¨SªþÀɮ׮榡¡B¨S¦³°Q½×°ÝÃDªººA«×~~~~~~¥H¤W·R²ö¯à§U¡C

TOP

¦^´_ 10# stillfish00
Stillfish00¤j¤j¼gªºµ{¦¡½X¡A§Ú¥Î2007ª©¨ÓRun¤]¨S¦³°ÝÃD¡C

TOP

        ÀR«ä¦Û¦b : ¸Ü¦h¤£¦p¸Ü¤Ö¡A¸Ü¤Ö¤£¦p¸Ü¦n¡C
ªð¦^¦Cªí ¤W¤@¥DÃD