G
Guest
Could you help me to refine this program?
I have this statement (see below) that sends a message when the “file was
saved alreadyâ€. However, when I click “OK†the program “saves as†a copy of
the file instead of just STOP.
Basically, I do not want the program to save as a copy. I just want to stop
as soon as I click “OKâ€
Thanks in advance for your help.
Maperalia
‘************************************
If ThisWorkbook.Saved = False Then
MsgBox "File Has Been Saved Already"
Exit Sub
End If
ActiveWorkbook.SaveCopyAs Progname
‘************************************
I have this statement (see below) that sends a message when the “file was
saved alreadyâ€. However, when I click “OK†the program “saves as†a copy of
the file instead of just STOP.
Basically, I do not want the program to save as a copy. I just want to stop
as soon as I click “OKâ€
Thanks in advance for your help.
Maperalia
‘************************************
If ThisWorkbook.Saved = False Then
MsgBox "File Has Been Saved Already"
Exit Sub
End If
ActiveWorkbook.SaveCopyAs Progname
‘************************************