MarkReddell
Board Regular
- Joined
- Sep 1, 2011
- Messages
- 210
- Office Version
- 365
- Platform
- Windows
- Mobile
I need to Auto. save my Excel File to my Customer's name in B4; however if there is no entry in b4; I need a message box to prompt me toenter a name before save file!!! Im using this code:
(Private Sub Workbook_BeforeClose(Cancel As Boolean)
Application.ExecuteExcel4Macro "show.toolbar(""Ribbon"",True)"
MsgBox ("This File is Being Saved in the Customer's Name & to the MSN SkyDrive Web-site In The Business Folder! Goodbye For Now")
ActiveWorkbook.SaveAs Filename:="https://ptkmnm.docs.live.net/a7f2fe19067884e3/BUSINESS/" & Sheets("LOAN SCENARIOS").Range("B4").Value & ".xlsm"
End Sub)
THANX FOR ANY HELP!!!
(Private Sub Workbook_BeforeClose(Cancel As Boolean)
Application.ExecuteExcel4Macro "show.toolbar(""Ribbon"",True)"
MsgBox ("This File is Being Saved in the Customer's Name & to the MSN SkyDrive Web-site In The Business Folder! Goodbye For Now")
ActiveWorkbook.SaveAs Filename:="https://ptkmnm.docs.live.net/a7f2fe19067884e3/BUSINESS/" & Sheets("LOAN SCENARIOS").Range("B4").Value & ".xlsm"
End Sub)
THANX FOR ANY HELP!!!