XLA routines: EE_SaveIfMe
EE_SaveIfMe is a handy developer sub that saves your work if you are the one running it.
- it does not save if someone else is running it
- never lose your work to crashes in Excel again !
Sub EE_SaveIfMe(strUserName As String) 'Takes a username as string 'Looks to see if application.username or ee_getusername is the string.. 'If yes, save the workbook. 'http://excelexperts.com/xla-routines-eeSaveIfMe for updates on this sub routine Select Case strUserName Case Application.UserName, EE_GetUsername ThisWorkbook.Save End Select End Sub
»
- Nick's blog
- Login or register to post comments
- 3136 reads
Recent comments
5 years 36 weeks ago
6 years 22 weeks ago
6 years 34 weeks ago
6 years 37 weeks ago
6 years 38 weeks ago
6 years 43 weeks ago
6 years 52 weeks ago
7 years 2 days ago
7 years 3 days ago
7 years 3 days ago