Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

move excel workbook

0 views
Skip to first unread message

jnewl

unread,
Nov 7, 2007, 7:46:01 PM11/7/07
to
how do i move an excel workbook from one folder to another?

thanks for your help

Stuart McCall

unread,
Nov 7, 2007, 10:22:37 PM11/7/07
to
"jnewl" <jn...@discussions.microsoft.com> wrote in message
news:B64B594F-BCC1-45BF...@microsoft.com...

> how do i move an excel workbook from one folder to another?
>
> thanks for your help

FileCopy "C:\OldFolder\MyWorkbook.xls", "C:\NewFolder\MyWorkbook.xls"
Kill "C:\OldFolder\MyWorkbook.xls"

Douglas J. Steele

unread,
Nov 8, 2007, 7:01:55 AM11/8/07
to
Or, more simply,

Name "C:\OldFolder\MyWorkbook.xls" As "C:\NewFolder\MyWorkbook.xls"

(This will only work if the two folders are on the same drive. If they're on
different drives, you have to use the copy and delete approach)

--
Doug Steele, Microsoft Access MVP
http://I.Am/DougSteele
(no e-mails, please!)


"Stuart McCall" <smc...@myunrealbox.com> wrote in message
news:fgtvej$p9i$1$8300...@news.demon.co.uk...

jnewl

unread,
Nov 8, 2007, 8:15:02 AM11/8/07
to
thanks for your help

jnewl

unread,
Nov 8, 2007, 8:16:01 AM11/8/07
to
thanks for your help
0 new messages