![]() |
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 |
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 |
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 |
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 |
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 |
All times are GMT +1. The time now is 12:32 AM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com