I have code that saves my file as xlsx properly, but I need to modify the file name with user input each time.
but I need to have the user modify the file name each time to include the time of the last database update.
The code above results in the filename Daily VMI Report 12-18-2013.xlsx but I need for the name to read Daily VMI Report 12-18-2013 as of 9am (or 12pm, or 2pm, or 4pm, etc.)
Can I include an Input Box to modify the file name before the file is saved?
Code:
' Save workbook as XLSX file and append date</SPAN></SPAN>
ActiveWorkbook.SaveAs Filename:="C:\Users\aurgaiha\Documents\Playground\Amanda\Daily VMI Report" & Format(Now, " mm-dd-yyyy"), FileFormat:=51</SPAN>
The code above results in the filename Daily VMI Report 12-18-2013.xlsx but I need for the name to read Daily VMI Report 12-18-2013 as of 9am (or 12pm, or 2pm, or 4pm, etc.)
Can I include an Input Box to modify the file name before the file is saved?