<!--[if !mso]> <style> v\:* {behavior:url(#default#VML);} o\:* {behavior:url(#default#VML);} w\:* {behavior:url(#default#VML);} .shape {behavior:url(#default#VML);} </style> <![endif]--> I'm trying save my workbook after processing with the contents of a worksheet cell (cell has formula =Now() ) appended to the File Name. I've tried everything that I could find on his forum and from all over the web with no success.
Here's the code as is. I get Run-time Error "1004" as a return.
Sub SaveWithDateTime()
ActiveWorkbook.SaveAs Filename:= "C:\Users\Admin1\Desktop\Working Copies\test Working Copy.xlsm" & _ Sheets("Calc").range("i1"), _ FileFormat:= xlOpenXMLWorkbookMacroEnabled, CreateBackup:=True
End Sub
Here's the code as is. I get Run-time Error "1004" as a return.
Sub SaveWithDateTime()
ActiveWorkbook.SaveAs Filename:= "C:\Users\Admin1\Desktop\Working Copies\test Working Copy.xlsm" & _ Sheets("Calc").range("i1"), _ FileFormat:= xlOpenXMLWorkbookMacroEnabled, CreateBackup:=True
End Sub