Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.misc
|
|||
|
|||
Backing up folder
I want to backup folder "C:\Documents and Settings\dan\Price" as
"C:\MyBackup\PriceMMDDYY" Could you help me script a Macro to do this. Thanks |
#2
Posted to microsoft.public.excel.misc
|
|||
|
|||
Backing up folder
You can use this macro:
Dim str As String str = "C:\Mybackup\Price" & Format(Date, "mmddyy") MkDir (str) "dan" wrote: I want to backup folder "C:\Documents and Settings\dan\Price" as "C:\MyBackup\PriceMMDDYY" Could you help me script a Macro to do this. Thanks |
#3
Posted to microsoft.public.excel.misc
|
|||
|
|||
Backing up folder
Thank you, Muhammed
I meant to backup folder "C:\Documents and Settings\dan\Price" with all its contents as PriceMMDDYY in "C:\MyBackup\". Any idea? "Muhammed Rafeek M" wrote in message ... You can use this macro: Dim str As String str = "C:\Mybackup\Price" & Format(Date, "mmddyy") MkDir (str) "dan" wrote: I want to backup folder "C:\Documents and Settings\dan\Price" as "C:\MyBackup\PriceMMDDYY" Could you help me script a Macro to do this. Thanks |
#4
Posted to microsoft.public.excel.misc
|
|||
|
|||
Backing up folder
Hi Dan
Try this http://www.rondebruin.nl/folder.htm -- Regards Ron de Bruin http://www.rondebruin.nl "dan" wrote in message news:MRPvg.2837$Pi.1728@trndny08... Thank you, Muhammed I meant to backup folder "C:\Documents and Settings\dan\Price" with all its contents as PriceMMDDYY in "C:\MyBackup\". Any idea? "Muhammed Rafeek M" wrote in message ... You can use this macro: Dim str As String str = "C:\Mybackup\Price" & Format(Date, "mmddyy") MkDir (str) "dan" wrote: I want to backup folder "C:\Documents and Settings\dan\Price" as "C:\MyBackup\PriceMMDDYY" Could you help me script a Macro to do this. Thanks |
#5
Posted to microsoft.public.excel.misc
|
|||
|
|||
Backing up folder
Hi Ron
This is great help. I will use the site more often. Thank you very much Best wishes "Ron de Bruin" wrote in message ... Hi Dan Try this http://www.rondebruin.nl/folder.htm -- Regards Ron de Bruin http://www.rondebruin.nl "dan" wrote in message news:MRPvg.2837$Pi.1728@trndny08... Thank you, Muhammed I meant to backup folder "C:\Documents and Settings\dan\Price" with all its contents as PriceMMDDYY in "C:\MyBackup\". Any idea? "Muhammed Rafeek M" wrote in message ... You can use this macro: Dim str As String str = "C:\Mybackup\Price" & Format(Date, "mmddyy") MkDir (str) "dan" wrote: I want to backup folder "C:\Documents and Settings\dan\Price" as "C:\MyBackup\PriceMMDDYY" Could you help me script a Macro to do this. Thanks |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Copying all files in a folder to new folder | Excel Discussion (Misc queries) | |||
can excel links be somehow relative to folder structure? | Excel Discussion (Misc queries) | |||
Need code to save file to new folder, erase from old folder | Excel Discussion (Misc queries) | |||
"Save As" folder -- can I default this to the same folder as origi | Excel Discussion (Misc queries) | |||
What is folder OLK7 and where can I find it? | Excel Discussion (Misc queries) |