Hi carsto,
Difficult situation, especially since you can't control the father workbooks.
In your situation, I don't know how to determine if the workbook was opened by VBA.
However, you can determine if it was opened not by VBA. Sub Auto_Open() will run after Workbook_Open(). It will not run if workbook is opened programmatically (i.e. by VBA).
Put Auto_Open() in an ordinary code module such as Module1:
Sub Auto_Open()
MsgBox "Auto_Open(): Workbook was NOT opened by VBA."
End Sub
I hope this helps.
Lewis
Bookmarks