Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Word / Programming / November 2006

Tip: Looking for answers? Try searching our database.

How to Link/Call or Copy other document/templates styles into current document?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
pradeep_barapatre@yahoo.com - 17 Nov 2006 11:23 GMT
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
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.