Pinaceous
Well-known Member
- Joined
- Jun 11, 2014
- Messages
- 1,124
- Office Version
- 365
- Platform
- Windows
Hi All,
If I'm running sub:
And this file already exists in this drive path, is there a way for the sub to exit to prevent a new document from save overriding it?
Please let me know what you are thinking...
Thank you!
pinaceous
If I'm running sub:
VBA Code:
strName = ThisWorkbook.Path & "\" & Format(Date, "DDMMMYYYY ") & "Document" & " " & ".xlsm"
And this file already exists in this drive path, is there a way for the sub to exit to prevent a new document from save overriding it?
Please let me know what you are thinking...
Thank you!
pinaceous