D
Don
Hi All,
Just discovered a bug that I haven't been able to resolve.
Situation is this, sometimes there already exists the file
as called in the macro, so you get the option window to
replace the existing file. If you click "Yes" things work
wonderfully, however if you click "No" the macro hangs up.
Here's the line of code:
ActiveWorkbook.SaveAs Filename:= _
"C:\WirelessLedger\Activation Invoices\" & Format
(Date, "mm-dd-yy") & " Activation Inv" & ".xls",
FileFormat:=xlNormal, _
Password:="", WriteResPassword:="",
ReadOnlyRecommended:=False, _
CreateBackup:=False
Any and all help will be greatly appreciated,
Don
Just discovered a bug that I haven't been able to resolve.
Situation is this, sometimes there already exists the file
as called in the macro, so you get the option window to
replace the existing file. If you click "Yes" things work
wonderfully, however if you click "No" the macro hangs up.
Here's the line of code:
ActiveWorkbook.SaveAs Filename:= _
"C:\WirelessLedger\Activation Invoices\" & Format
(Date, "mm-dd-yy") & " Activation Inv" & ".xls",
FileFormat:=xlNormal, _
Password:="", WriteResPassword:="",
ReadOnlyRecommended:=False, _
CreateBackup:=False
Any and all help will be greatly appreciated,
Don