galileogali
Well-known Member
- Joined
- Oct 14, 2005
- Messages
- 748
I want have MyStyles in all the books.
Create a Addin, MyStyles.xla, where are the custom styles
In a standard module put this macro:
Works only when the two books are open, but If call with the opening of a previously closed book, it produces an error
Create a Addin, MyStyles.xla, where are the custom styles
In a standard module put this macro:
Code:
Sub Auto_open()
Application.ActiveWorkbook.Styles.Merge Application.ThisWorkbook
End Sub