![]() |
workbooks close before
when this macro is execuited the MS excel engine apparently reset all
variables, public and private. Is there a way around this? I wish to make a decision in the macro regarding how to handle the close, but my flags have been reset. ---------------- This post is a suggestion for Microsoft, and Microsoft responds to the suggestions with the most votes. To vote for this suggestion, click the "I Agree" button in the message pane. If you do not see the button, follow this link to open the suggestion in the Microsoft Web-based Newsreader and then click "I Agree" in the message pane. http://www.microsoft.com/office/comm...el.programming |
workbooks close before
Chip has good article about this:
http://www.cpearson.com/excel/TrulyGlobalVariables.htm Mika Oukka "OlieH" wrote in message ... when this macro is execuited the MS excel engine apparently reset all variables, public and private. Is there a way around this? I wish to make a decision in the macro regarding how to handle the close, but my flags have been reset. ---------------- This post is a suggestion for Microsoft, and Microsoft responds to the suggestions with the most votes. To vote for this suggestion, click the "I Agree" button in the message pane. If you do not see the button, follow this link to open the suggestion in the Microsoft Web-based Newsreader and then click "I Agree" in the message pane. http://www.microsoft.com/office/comm...el.programming |
All times are GMT +1. The time now is 08:04 PM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com