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

¦³Ãö¨Ï¥ÎFileSystemObjectªº°ÝÃD

¦³Ãö¨Ï¥ÎFileSystemObjectªº°ÝÃD

½Ð±Ð¦U¦ì¥ý¶i¡A
¤p§Ì·Q­n·h²¾Àɮרí«·s©R¦W(¦pMovefile¡BFileCopyµ¥µ¥)¡A¤£ª¾­þ¸Ì¦³¬ÛÃöªº»yªkhelp¥i¨Ñ°Ñ¦Ò¡A¦]¬°VBAªºonline help³£§ä¤£¨ì¬ÛÃö«ü¥O¤Î¨ä°Ñ¼Æ¥Îªk¡A
ÁÂÁ«üÂI°g¬z~

Dim FSO  As New FileSystemObject
FSO.CopyFile "D:\a.xls", "C:\b.xls"
­Y¬O§Ú¦^µª¡A¨Ï±zº¡·N¡A½Ð±zÅý§Úª¾¹D¡I                  
­Y¬O§Úªº¦^ÂСA±z¤´¦³¨ä¥L¨£¸Ñ¡A¤]½Ð±z¤£¶Þ«ü±Ð¡I

TOP

VBA»¡©úÀɤ@¤j°ï
¥HÃöÁä¦rFileSystemObject·j´M»¡©ú
¬Ý¥Lªº¤èªk´N¦³¤@¤j¦ê
¾Ç®üµL²P_¤£®¢¤U°Ý

TOP

ÁÂÁª©¥D¤ÎMinªºµªÂСA¤p§Ì¨Ó¸Õ¸Õ¬Ý~

TOP

        ÀR«ä¦Û¦b : §Ñ¥\¤£§Ñ¹L¡A§Ñ«è¤£§Ñ®¦¡C
ªð¦^¦Cªí ¤W¤@¥DÃD