![]() |
| ||
| Excel Macro Save as with date in file name I have posted this thread in the microsoft software forum as well but with no luck. If anyone can tell me how I can save a active excel file using a macro to save it in a folder using the current date as the file name. I hope that was clear. I know no VBA at all sorry... Any help will be appreciated. Thanks |
| ||
| Re: Excel Macro Save as with date in file name Quote:
Sub save() ActiveWorkbook.SaveAs Filename:=Range("B11").Value & Format(Date, "mmdd") End Sub |
| ||
| Re: Excel Macro Save as with date in file name Thanks for the post, but I have already found a perfect answer and I will try and remember to post the VBA when i can find it. Cheers |
| ||
| Re: Excel Macro Save as with date in file name Hi, New here. I tried several different statements and keep getting an error. Compile error Wrong number of arguments or invalid property assignment. It highlights the Format property. I did look in tools, references for anything missing and there was none. What am I missing? Thanks Quote:
|
| All times are GMT -4. The time now is 4:36 am. |
Forum system based on vBulletin Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
©2003 - 2010 DaniWeb® LLC