ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Move a file (https://www.excelbanter.com/excel-programming/369697-move-file.html)

Damien

Move a file
 
Hi I need to be able to move a file within excel to another directory folder.

Mike[_103_]

Move a file
 
OldName = "C:\MYDIR\OLDFILE": NewName = "C:\YOURDIR\NEWFILE"
Name OldName As NewName ' Move and rename file.

Damien wrote:
Hi I need to be able to move a file within excel to another directory folder.



Xcelion

Move a file
 
Hi Damine

If you are asking for VBA option try

Name oldpathname As newpathname

--
Thanks
Xcelion



"Damien" wrote:

Hi I need to be able to move a file within excel to another directory folder.



All times are GMT +1. The time now is 05:01 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com