So I entered the code below into my personal.xls thisworkbook section in hopes that every time a new workbook opens i would get me the name of the new workbook displayed. But no, the first time it gives me "Personal.xls" subsequent newly opened work book it does not respond at all.
Any ideas how I can do this?
Any ideas how I can do this?
Code:
[FONT=Verdana,Arial,Tahoma,Calibri,Geneva,sans-serif]Private Sub Workbook_Open()
twn=thisworkbook.name
awn=activeworkbook.name
msgbox twn
msgbox awn
end sub
[/FONT]