Home |
Search |
Today's Posts |
#1
![]() |
|||
|
|||
![]()
I have a workbook with several Macros, if the workbook is closed but Excel
left open, (using close window "x" or File Close)The Macro code remains in the visual basic editor and can even become duplicated/triplicated if the workbook is susequently reopened in the same Excel session. The workbook includes Auto_Open and Workbook_BeforeClose macros but neither have contents that would suggest or require this activity. Is this normal behaviour? if so what is its purpose and is it possible to change it so the Visual Basic code closes when the Workbook is closed. Thanks |
#2
![]() |
|||
|
|||
![]()
See your other thread
-- Regards Ron de Bruin http://www.rondebruin.nl "Paul Moles" wrote in message ... I have a workbook with several Macros, if the workbook is closed but Excel left open, (using close window "x" or File Close)The Macro code remains in the visual basic editor and can even become duplicated/triplicated if the workbook is susequently reopened in the same Excel session. The workbook includes Auto_Open and Workbook_BeforeClose macros but neither have contents that would suggest or require this activity. Is this normal behaviour? if so what is its purpose and is it possible to change it so the Visual Basic code closes when the Workbook is closed. Thanks |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Excel version identification from Visual Basic | Excel Discussion (Misc queries) | |||
Visual Basic Macro | Excel Discussion (Misc queries) | |||
Formula in Visual Basic For Excel | Excel Discussion (Misc queries) | |||
Visual Basic System Error-Userform | Excel Discussion (Misc queries) | |||
Visual Basic Help | Excel Discussion (Misc queries) |