cresbydotcom
Technical User
- May 22, 2006
- 234
VBA help suggests this event should work
I have tried putting it in "This Workbook" and Module1 but the event is not trapped. How do I get it to trap the event or find the name of the new workbook. Private or not private makes no difference
Other than list all workbooks before and after then see what is different.
Code:
Sub App_NewWorkbook(ByVal Wb As Workbook)
newbuk = Wb
End Sub
I have tried putting it in "This Workbook" and Module1 but the event is not trapped. How do I get it to trap the event or find the name of the new workbook. Private or not private makes no difference
Other than list all workbooks before and after then see what is different.