Hi guys.
I, Pradeep, am new to the macro programming. I work with a small firm
as Word document specialist whereas i need to convert Proposals in our
company standard. We have 2-3 different Standard Proposal Templates.
Each proposal we get consist of approx 200 - 300 page as an average.
Being smart, I created some macros to make my work easier and faster.
:-D
I created a custom menu, and all options; and saved the files as "Word
document Template" and put that file in word STARTUP folder so that
whenever i open MS Word i get the custom menu.
In the file svery basic macros are there; like
Selection.Style = ActiveDocument.Styles("Heading 1") , '// etc. For
Heading 1 style
Selection.Style = ActiveDocument.Styles("Bullet1") , '// etc. for
bullet level 1 style
and so on i created macros for other styles as well. Now this macros
works fine when i create new proposal.
If i work on existing or older version proposal wherein the styles are
bit changed. like the paragraph spacing, indentation, bullet symbols,
etc,
If i run macros on older version document and if the style is available
there , even then the styles get updated as per older version.
I was wondering if i could copy all the styles of the document template
file (i.e., Macro Document wherein all the latest styles are there) in
the active/currelty open document automatically.
Please guys help me. I am breking my head.
you can mail me ur rply on pradeep_barapatre @yahoo.com as well
Waiting for replies
Shauna Kelly - 17 Nov 2006 22:14 GMT
Hi Pradeep
The following may be helpful:
How to safely update a document's styles from its template without using the
Organizer (and how to make the Tools + Templates and Add-ins dialog safe)
http://www.word.mvps.org/FAQs/MacrosVBA/UpdateStyles.htm
What happens when I attach a new template to my document? or How do I copy
content and settings from a template to a document?"
http://www.ShaunaKelly.com/word/attachtemplate/index.html
Hope this helps.
Shauna Kelly. Microsoft MVP.
http://www.shaunakelly.com/word
> Hi guys.
>
[quoted text clipped - 36 lines]
>
> Waiting for replies