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

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

¦^´_ 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

¦^´_ 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

        ÀR«ä¦Û¦b : «Ý¤H°h¤@¨B¡A·R¤H¼e¤@¤o¡A´N·|¬¡±o«Ü§Ö¼Ö¡C
ªð¦^¦Cªí ¤W¤@¥DÃD