Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
what code would i have to put in VBA (data) to close the data workbook when i
close the (test) workbook or visa versa |
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Check the Event-Macro: Workbook_BeforeClose
Micky uk" wrote: what code would i have to put in VBA (data) to close the data workbook when i close the (test) workbook or visa versa |
#3
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
To be more precise - use the hereunder code in the TEST WB:
==================================== Private Sub Workbook_BeforeClose(Cancel As Boolean) Workbooks("DATA.XLS").Close SaveChanges:=False End Sub ========== Micky "מיכאל (מיקי) אבידן" wrote: Check the Event-Macro: Workbook_BeforeClose Micky uk" wrote: what code would i have to put in VBA (data) to close the data workbook when i close the (test) workbook or visa versa |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Auto save and close | Excel Worksheet Functions | |||
Auto close .csv files | Excel Discussion (Misc queries) | |||
Auto close userform | Excel Discussion (Misc queries) | |||
auto close userform | Excel Discussion (Misc queries) | |||
Auto-save worksheet on close? | Excel Discussion (Misc queries) |