f_o_o_k_y
asked on
How to have custom styles in all Word documents?
Hello Experts,
I'm developing custom ribbon for Word 2013.
I have prepared many styles which I'm using with my ribbon.
I know that if I create document based on this template (with styles) I have all styles available.
But I need to have this custom styles in all Word documents even if the document was created by different person based on different document template.
How can I achieve this goal?
Best Regards
Fooky
I'm developing custom ribbon for Word 2013.
I have prepared many styles which I'm using with my ribbon.
I know that if I create document based on this template (with styles) I have all styles available.
But I need to have this custom styles in all Word documents even if the document was created by different person based on different document template.
How can I achieve this goal?
Best Regards
Fooky
You have to re-apply your template to an incoming document with a different style set.
ASKER
But how can I do this?
Make sure your Style Set is included in Styles in the Word Ribbon. Then open the document in question and change the style to the one you want. You may have to select All to do this.
You would either have to copy the styles into each template or attach the updated template to each document.
Also make sure that the 'Automatically update document styles' checkbox in the Templates and Add-ins dialogue is ticked for each template.
Also make sure that the 'Automatically update document styles' checkbox in the Templates and Add-ins dialogue is ticked for each template.
ASKER
GrahamSkam do you know how I can copy my styles to document while opening it?
I'm using VSTO and c#.
I'm using VSTO and c#.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
I recorded macro with this steps and implemented it with c#.
Thank you for your help
Thank you for your help