Results 1 to 2 of 2
  1. #1
    New Lounger
    Join Date
    Apr 2008
    Location
    New Zealand
    Posts
    8
    Thanks
    0
    Thanked 0 Times in 0 Posts
    I thought there was a thread way back about how to clean up/reset the number gallery (a couple of people have been playing with outline numbered styles so much that when they exchange documents they get something like - but no quite - the numbering style in the template - ie weird indenting, right justified etc) - but I can't find it.

    I want to take them back to a clean start and hopefully then when they open the document they will have the correct definition of the style. Can this be done without reinstalling Word?

  2. #2
    Plutonium Lounger
    Join Date
    Mar 2002
    Posts
    84,353
    Thanks
    0
    Thanked 29 Times in 29 Posts
    [quote name='Judith_Kiwi08' post='764704' date='10-Mar-2009 22:29'][/quote]
    There's a code sample in the Word VBA help for the Reset method of the ListGallery object. The following macro is based on that:
    Code:
    Sub ResetListGalleries()
      Dim lg As ListGallery
      Dim i As Integer
      For Each lg In ListGalleries
    	For i = 1 To 7
    	  lg.Reset i
    	Next i
      Next lg
    End Sub

Posting Permissions

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