Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Copy help
Hi all
Using the function shown below I c an obtain the newest file in that directory =newestfile("c:\&dip2005\2005backup\","*.xls") How can I now copy this file from its current location to a different folder. Many thanks Ian M -- Norton Professional 2004 says this email is clean...believe it |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
Copy help
look at the Filecopy command. The example from help:
Dim SourceFile, DestinationFile ' Define source file name. SourceFile = "SRCFILE.xls" ' Define target file name. DestinationFile = "DESTFILE.xls" ' Copy source to target. FileCopy SourceFile, DestinationFile -- Regards, Tom Ogilvy com wrote in message ... Hi all Using the function shown below I c an obtain the newest file in that directory =newestfile("c:\&dip2005\2005backup\","*.xls") How can I now copy this file from its current location to a different folder. Many thanks Ian M -- Norton Professional 2004 says this email is clean...believe it |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Copy and paste versus copy and insert copied cells | New Users to Excel | |||
Copy/Paste how to avoid the copy of formula cells w/o calc values | Excel Discussion (Misc queries) | |||
EXCEL FILE a copy/a copy/a copy ....filename | New Users to Excel | |||
Code to copy range vs Copy Entire Worksheet - can't figure it out | Excel Programming | |||
How copy format, font, color and border without copy/paste? | Excel Programming |