Sub auto_close() MsgBox "Bye Bye! Don't forget to check other cool stuff on xlsxtemplates.com" End Sub
Closing Message Excel macro code: You can use close_open to perform a task on opening a file and all you have to do just name your macro “close_open”.