+ Reply to Thread
Results 1 to 4 of 4

Show a list of Custom(non-default) Styles within a Word document (or template)?

  1. #1
    Forum Contributor
    Join Date
    04-02-2017
    Location
    Australia
    MS-Off Ver
    2016
    Posts
    403

    Cool Show a list of Custom(non-default) Styles within a Word document (or template)?

    Hi guys,

    The following Code I use a lot with shortcuts and the style panel:

    Please Login or Register  to view this content.
    My strategy is to use "AllStyles" to insert styles into my documents for the first time, and then "InUse" allows me to make sure everything is nice and neat within my document.


    The problem I can foresee in the future will be:
    In 6 months I'll start a new document, use "All Styles" and forget which ones I have created/modified as they'll all be mixed in with the default ones.

    What I really want is a "view" that shows me all my own customized styles (including default one's I have edited, If that's possible) within the template.

    I'm not sure if this "View" would be possible within the Styles Panel but maybe something similar to the code below, where it prints out the names of styles elsewhere. If this Printout could also have the "Show Preview" option (either as a second column or something), then that would be AMAZING.

    Please Login or Register  to view this content.

    Thanks guys,

    Jimmy
    Thanks,

    JimmyWilliams

  2. #2
    Forum Contributor
    Join Date
    04-02-2017
    Location
    Australia
    MS-Off Ver
    2016
    Posts
    403

    Re: Show a list of Custom(non-default) Styles within a Word document (or template)?

    *Bumping this thread*

    This would actually be super awesome for me, if someone could help me out. Please and thank you.


    Cheers guys,
    Jimmy.

  3. #3
    Forum Expert
    Join Date
    04-01-2013
    Location
    East Auckland
    MS-Off Ver
    Excel 365
    Posts
    1,343

    Re: Show a list of Custom(non-default) Styles within a Word document (or template)?

    Maybe this is close to what you want

    Please Login or Register  to view this content.
    of course this is excel and you want word, and it returns everything. but maybe you can tweak.
    Last edited by scottiex; 09-19-2017 at 11:06 PM.
    If you want something done right... find a forum and ask an online expert.

    Time flies like an arrow. Fruit flies like a banana.

  4. #4
    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: Show a list of Custom(non-default) Styles within a Word document (or template)?

    A fundamental problem you're going to have with this is that Word doesn't store changes to Style defintions. Consequently, you'd need to save a document with the original definitions, then loop through the Styles in your latest version of the template and compare those against the originals.
    Cheers,
    Paul Edstein
    [Fmr MS MVP - Word]

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Add Styles within Word Document's Quick Style Gallery
    By JimmyWilliams in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 08-09-2017, 06:18 PM
  2. [SOLVED] Inserting word custum template at end of document on new page
    By lavinius in forum Word Programming / VBA / Macros
    Replies: 8
    Last Post: 05-21-2013, 05:57 AM
  3. Resetting a Document's Styles back to Default without using Normal.doct
    By mgaworecki in forum Word Formatting & General
    Replies: 4
    Last Post: 09-21-2012, 08:02 AM
  4. Find and Replace the styles in the word document
    By nnram123 in forum Word Formatting & General
    Replies: 2
    Last Post: 12-21-2010, 01:52 PM
  5. How to stop foreign formates and user styles in MS Word Document
    By binod5s in forum Word Programming / VBA / Macros
    Replies: 1
    Last Post: 12-27-2009, 06:13 AM
  6. Replies: 1
    Last Post: 10-17-2007, 10:28 AM
  7. Benefits of using template in generated word document?
    By ChrisMattock in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-10-2006, 10:41 AM

Tags for this Thread

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