![]() |
![]() |
|
|||||||
| Excel Questions All Excel/VBA questions - formulas, macros, pivot tables, general help, etc. Please post to this forum in English only. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
New Member
Join Date: Mar 2002
Location: John
Posts: 1
|
Is there a way to make Excel run a macro automatically whenever a user quits the program, no matter how they quit the program?
|
|
|
|
|
|
#2 |
|
Guest
Posts: n/a
|
Private Sub Workbook_BeforeClose(Cancel As Boolean)
your code here, put in this work book code End Sub |
|
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|