#1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 42
Default Move a file

Hi I need to be able to move a file within excel to another directory folder.
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 9
Default 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.


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 39
Default 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.

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Move File THE_RAMONES Excel Discussion (Misc queries) 3 May 25th 06 09:31 PM
Move rows from 1 file to other file? shital shah Excel Programming 0 April 24th 06 12:09 PM
Move File When The ... sal21[_9_] Excel Programming 1 February 18th 04 10:10 PM
Move or Copy file steve Excel Programming 0 August 12th 03 09:24 PM
Move or Copy file Michael Bond[_2_] Excel Programming 0 August 12th 03 08:30 PM


All times are GMT +1. The time now is 06:47 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"