The code I posted doesn't prompt at all, does it? It just saves worsheeets ending in "sd" after any manual change.
The code I posted doesn't prompt at all, does it? It just saves worsheeets ending in "sd" after any manual change.
Entia non sunt multiplicanda sine necessitate
I have code for "before save" prompting user if they are sure they want to save. So I took that out and your code works fine except on every cell change the workbook saves and it takes about 15 seconds to save each time (it's a large workbook!). How can I stop that? (This a worksheet where the user will be filling in 15 fields so that will be too long to wait it out each time a cell is changed.)
So ... what behavior do you want?
I want the worksheet to be saved when the user is done using it - all the way done, not cell by cell.
If "done" means when the sheet is deactivated, then
![]()
Private Sub Workbook_SheetDeactivate(ByVal Sh As Object) If LCase(Right(Sh.Name, 2)) = "sd" Then Me.Save End Sub
Thanks, that will do it. I appreciate your help.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks