Hi All,
I have a thread open already which might possibly answer this for me but for the benefit of the search button here goes..
I have a workbook that has a macro that contains 1 x sub, 1 x private sub, 1 x private function and 1 x function. How can I get these all to run when I hit the save button?
I have tried
but this only runs a little bit of code. If I put it at the top, it doesn't work.
Any help would be appreciated.
I have a thread open already which might possibly answer this for me but for the benefit of the search button here goes..
I have a workbook that has a macro that contains 1 x sub, 1 x private sub, 1 x private function and 1 x function. How can I get these all to run when I hit the save button?
I have tried
Code:
Private Sub Workbook_BeforeSave(ByVal SaveAsUI As Boolean, Cancel As Boolean)
Any help would be appreciated.