I am running a VBS and trying to save a copy of the file with the newest date.
currently I use wb.Save
which saves the current copy nicely.
Anyone know why these two attempts dont work? The dialog box closes immediately when trying these two different attempts.
wb.SaveCopyAs Filename:="O:\Desktop\Export " & Format(Now, "yyyy-mm-dd") & ".xlsm"
wb.Save Filename:="O:\Desktop\Export " & Format(Now, "yyyy-mm-dd") & ".xlsm"
Thanks.