+ Reply to Thread
Results 1 to 3 of 3

Importing Styles with Microsoft Word

  1. #1
    Registered User
    Join Date
    10-05-2011
    Location
    PA, USA
    MS-Off Ver
    Excel 2003
    Posts
    15

    Importing Styles with Microsoft Word

    I have a macro that runs across all files in a given folder. My Normal.dotm global template has the 3 font styles that the macro uses, however the macro stops because it repeatedly cannot find the style the macro calls upon. The easiest way would be to create a macro (or add to my current) that would automatically import these 3 styles from the global template to the active document.... But I just cannot get it to work...

    Here's what I have so far:

    Please Login or Register  to view this content.
    Any help at all with this? I have about a hundred files that need formatted, so importing individually is kind of out of the question... Thanks in advance!
    Last edited by arlu1201; 09-19-2012 at 02:45 PM.

  2. #2
    Forum Expert macropod's Avatar
    Join Date
    12-22-2011
    Location
    Canberra, Australia
    MS-Off Ver
    Word, Excel & Powerpoint 2003 & 2010
    Posts
    3,726

    Re: Importing Styles with Microsoft Word

    An extremely simple method of copying new Styles from a source document to a set of target documents is to create a series of paragraphs using those Styles in the source document (if they're paragraph Styles, the paragraphs don't need any text), add the following macro to the source document, open the source document and all the target documents, then run the macro.
    Please Login or Register  to view this content.
    Of course, you can use the same principle for looping through a folder full of documents.
    Cheers,
    Paul Edstein
    [Fmr MS MVP - Word]

  3. #3
    Forum Contributor
    Join Date
    12-13-2007
    Location
    Central New York
    MS-Off Ver
    Home: 2007, Office: 2010
    Posts
    158

    Re: Importing Styles with Microsoft Word

    A little late (maybe it will help someone else looking), but why not something like:
    Please Login or Register  to view this content.
    HTH,
    Mark

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1