C
carlos_almeida
Hi everybody,
I'm a newbie in VBA and this is my first post in this excellent
group...
I already saw Chip's explanation about events - http://www.cpearson.com/excel/events.htm
- as well as many posts concerning this subject but haven´t yet
figured out how to implement a Workbook_BeforeClose with the Excel's
native behaviour when having multiple workbooks open.
I have a workbook were I need to do some validations before saving and
closing (hidding some sheets, protecting some cells...).
If there isn't another book open I can use Workbook_BeforeClose on the
ThisWorkbook module to do those things without problems but if I have
more workbooks open I don't really know how to do that.
Can anyone help me, please?
Thanks for your time.
I'm a newbie in VBA and this is my first post in this excellent
group...
I already saw Chip's explanation about events - http://www.cpearson.com/excel/events.htm
- as well as many posts concerning this subject but haven´t yet
figured out how to implement a Workbook_BeforeClose with the Excel's
native behaviour when having multiple workbooks open.
I have a workbook were I need to do some validations before saving and
closing (hidding some sheets, protecting some cells...).
If there isn't another book open I can use Workbook_BeforeClose on the
ThisWorkbook module to do those things without problems but if I have
more workbooks open I don't really know how to do that.
Can anyone help me, please?
Thanks for your time.