Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 12-14-2013, 10:38 PM
nooru nooru is offline automatic formatting text from a template Windows XP automatic formatting text from a template Office 2007
Novice
automatic formatting text from a template
 
Join Date: Dec 2013
Posts: 5
nooru is on a distinguished road
Post automatic formatting text from a template

Hello All,



I have created customised styles template in word 2007 and i want to apply the same styles to the no. of documents which does not have any format. These documents were typed in the word 2007 and used manual (bold, italics etc.,) .

Can any one help me to convert/automate the normal documents into a customised template styles format.

Regards,
Nooru
«email address removed for privacy»

Last edited by macropod; 12-15-2013 at 01:54 AM.
Reply With Quote
  #2  
Old 12-15-2013, 02:01 AM
macropod's Avatar
macropod macropod is offline automatic formatting text from a template Windows 7 32bit automatic formatting text from a template Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 21,927
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

Applying Styles retrospectively via macro to documents that haven't used them is problematic, since the code must compare all of the attributes of each & every paragraph against each & every new paragraph Style's definition. For Character Styles, you need to compare each & every character against each & every new Character Style - but then also not apply the character Style to paragraphs whose paragraph Style has the same character attributes. This can be quite time-consuming for a macro to do in just one document, let alone across multiple documents.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
  #3  
Old 12-15-2013, 07:08 AM
nooru nooru is offline automatic formatting text from a template Windows XP automatic formatting text from a template Office 2007
Novice
automatic formatting text from a template
 
Join Date: Dec 2013
Posts: 5
nooru is on a distinguished road
Smile

can any body help me to understand, how set style option works and how i can creat a customised to automate no. of documents to have consistent look using styles.
can u pl. help me to automate
Reply With Quote
  #4  
Old 12-15-2013, 01:42 PM
Charles Kenyon Charles Kenyon is offline automatic formatting text from a template Windows 7 64bit automatic formatting text from a template Office 2013
Moderator
 
Join Date: Mar 2012
Location: Sun Prairie, Wisconsin
Posts: 8,377
Charles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant future
Default

Macropod (Paul) is trying to tell you that this will not be easy.

First: work with a copy of your subject document. Some things may be difficult to undo.

Second: attach a template containing your styles to the document. This can be done using the Developer Tab's Document Template button. Check the button to update styles from the template. Then go back to the Document Template button and uncheck that checkbox.

Third: examine at your document. What, if anything has changed already, with just this step?

There are three kinds of styles, paragraph, character, and linked. Find the text you want to apply the style to. For instance, if I wanted to put bold text in a style, it would be the character style of "Strong." You can do a replace changing text with the font formatting of "Bold" and applying the Style "Strong."

I generally simply start with a plain text document (no formatting) in a template that has the styles I want. If then apply my Body Text style to the entire document and go through and apply other styles as appropriate. That gives me the best result but it can be a lot of work.

Another approach is to open (a copy of) your document and then apply AutoFormat to it. This will not apply styles, other than headings, though.
Reply With Quote
  #5  
Old 12-16-2013, 08:21 AM
Ulodesk Ulodesk is offline automatic formatting text from a template Windows 7 64bit automatic formatting text from a template Office 2010 64bit
Word 2013 Expert Cert
 
Join Date: Sep 2009
Location: Virginia
Posts: 862
Ulodesk is on a distinguished road
Default Automation

I would just add that nooru identified in another post that he is used to InDesign.
nooru, you need to recognize that ID is a very different application from Word. Word is a fancy word-processor, and although it has many strengths and automation features, it is be no means an graphics-suite-integrated page-layout application with the enormous power of ID. There are indeed many scripts that have been written, and can be written, for Word, many of them available commercially from third-party developers. In my experience, however, the kind of scripts available for styling in InDesign, such as nested style scripts and their offshoots, are not part of Word's overall development. The applications are designed to do different things.
I leave the expertise on such matters to people such as Macropod, whose knowledge of Word is deep and authoritative. I wrote this post in hopes that you can avoid losing time attempting to do something with the wrong tool. I have seen automated tabletop sewing machines that can embroider intricate patterns. Trying to do the same with a machine not designed for this is, at the posters have noted, very difficult.

Cordially,
Ulodesk
Reply With Quote
Reply

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
automatic formatting text from a template Automatic update of links in template - closing attached template without saving stefaan Word 2 11-02-2013 07:46 AM
automatic formatting text from a template automatic text formatting(justify) Metamag Word 31 09-26-2011 10:07 AM
automatic formatting text from a template Automatic Email Template when Click 'New' eoinymc Outlook 2 06-22-2011 08:31 AM
automatic formatting text from a template Template with automatic text input from seperate documents! word Word 1 06-03-2011 02:45 PM
Automatic Formatting for whole row Bacchanal Promotions Excel 2 03-19-2011 05:12 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 10:55 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2023, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2023 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft