thanks for your help
FileCopy "C:\OldFolder\MyWorkbook.xls", "C:\NewFolder\MyWorkbook.xls"
Kill "C:\OldFolder\MyWorkbook.xls"
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...