Link to home
Start Free TrialLog in
Avatar of f_o_o_k_y
f_o_o_k_yFlag for Poland

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
Avatar of John
John
Flag of Canada image

You have to re-apply your template to an incoming document with a different style set.
Avatar of f_o_o_k_y

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.
GrahamSkam do you know how I can copy my styles to document while opening it?
I'm using VSTO and c#.
ASKER CERTIFIED SOLUTION
Avatar of Eric Fletcher
Eric Fletcher
Flag of Canada image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
I recorded macro with this steps and implemented it with c#.
Thank you for your help