Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi,
My whole intention is to close the active workbook without beeing prompth by Windows "do you wanna save the changes....". But unfortunately when I use the below code I am getting a Compile error with the msgbox "Procedure declaration does not match description or event procedure having the same name". Hope someone can help me to correct this. -------- Private Sub Workbook_BeforeClose() ActiveWorkbook.Save End Sub -------- Regards J_J |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
AutoSave Macro? | Excel Discussion (Misc queries) | |||
autosave macro excel | Excel Discussion (Misc queries) | |||
Problem with Autosave | Excel Discussion (Misc queries) | |||
Opened Autosave but when closing workbook Autosave closes itself | Excel Worksheet Functions | |||
AutoSave code problem | Excel Programming |