place the code into the workbook "open" event....
alt+f11 > dbl click "this workbook" from left pane and then switch (from drop down in right pane) from general to workbook...then in right most drop down,...select "open"
paste your code there....removing sub you_macro () and the all but the last "end sub"
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.