Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
The following works for me:
Sub SaveAuto() Dim fname Dim fpath fpath = "C:\Documents and Settings\Ken\Desktop\" fname = Format(Now, "MDD_hhmm") ActiveWorkbook.SaveAs fpath & fname End Sub But in addition to the result of the date code, I would like the filename result to contain a prefix using the contents of a partcular cell of the original workbook (3 letters that represents a customer code) which would allow us to sort the files saved by customer in the saved directory. Can this be done |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Change Filename in Macro | Excel Discussion (Misc queries) | |||
Coding a filename into a macro | Excel Programming | |||
Appending Filename in Macro | Excel Programming | |||
filename in macro | Excel Discussion (Misc queries) | |||
Put Filename Variable in Macro | Excel Discussion (Misc queries) |