Excel 2003.
The setup.
I have a workbook, which successfully runs some code in the BEFORECLOSE.
This code opens another workbook, and copies details from the parent book to the child book.
It then saves the child workbook and closes it.
This all worked fine.
I then wanted to program some code into the child workbooks BEFORECLOSE, so that before closing the child workbook, it looked at some dates on the relevant sheets, and moved the rows around.
This in itself is also fine, and works.
However the idea is that when the parent workbook closes, it activates the childworkbook, runs the parentworkbook BEFORECLOSE, then runs the child workbook BEFORECLOSE, before saving and closing the child workbook, and ultimately the parent workbook. HOWEVER, the child workbooks BEFORECLOSE isn't activating.
The Question.
Is there anyway I can activate a macro in the childworkbook, directly from the parent workbook, so that I can bypass the child workbook's BEFORECLOSE?