LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
alf alf is offline
external usenet poster
 
Posts: 5
Default Save problem with multiple workbooks and event workbook_deactivate

Hello
I have 2 workbooks opened, with a workbook_deactivate sub defined
When I ask to close (red cross), the save window appears and i click
to 'Yes to all', but the workbooks stay opened, and not saved! the
problem is not on my code, because if i have a sub like that:

Sub Workbook_deactivate()
msgbox "hello"
end sub

the problem is still here.
And if i remove completely this sub, it works fine(workbooks saved and
closed!

It can be tested very easily. Create 2 workbooks with the
workbook_deactivate like here, then modify any data in sheets of the
two workbooks, then click on the red cross, and answer 'Yes' or 'Yes
to All'

Do you reproduce this ?
Have you any idea to sove this problem ?
Thanks for your help.
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Duplicating Changes from Column A and B of Master Workbook to ColumnA and B of Other Workbooks - - Please help me, I can save days if my problem jhong Excel Programming 1 March 10th 08 08:45 PM
Duplicating Changes from Column A and B of Master Workbook to ColumnA and B of Other Workbooks - - Please help me, I can save days if my problem jhong Excel Programming 0 March 7th 08 11:23 AM
Copying select data frm one workbook to multiple workbooks & save Pman Excel Programming 7 October 2nd 07 03:08 PM
WB before save event problem GregR Excel Programming 2 August 17th 05 04:38 PM
workbooks.open without triggering event Vobiscum[_3_] Excel Programming 2 June 24th 05 07:21 AM


All times are GMT +1. The time now is 09:36 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"