Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]() I have created the following code: Code: -------------------- Sub Button25_Click() 'save workbook and email ActiveWorkbook.SaveAs Filename:="C:\TGP.xls" ActiveWorkbook.SendMail " End Sub -------------------- I would like to know how I can add two things to this code. 1. I would like the code to create a folder in my C: drive named BackupTGP. 2. I would like to have the filename be the current date and time. Then reason I want to do this is so that I can continuosly save the time/date stamped file to that folder as a backup to the save in the 'My Doc' folder. -- oberon.black ------------------------------------------------------------------------ oberon.black's Profile: http://www.excelforum.com/member.php...o&userid=26732 View this thread: http://www.excelforum.com/showthread...hreadid=466512 |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Excel 2007 Changes date stamp on Save As | Excel Discussion (Misc queries) | |||
Excel 2007 Changes date stamp on Save As | Excel Discussion (Misc queries) | |||
product date stamp file save | Excel Discussion (Misc queries) | |||
How can you save a spreadsheet with a date stamp. | Excel Worksheet Functions | |||
Save File with Date and Time Stamp | Excel Programming |