#1
|
|||
|
|||
How to generate special outline numbering list.
Hello All, Is there a way to generate a special numbering list to use in every kind of new documents? I am Turkish and we have different letters to use in a numbering list such as ç, ı, ö and ü. But Word doesn't offer these letters in the list galleries and I guess the list templates are hard-coded in Word. Any kind of help would be appreciated. Thanks in advance... Note: I am not so bad at VBA... |
#2
|
||||
|
||||
Look up the wdListNumberStyle constant in the Object Browser of the Visual Basic Editor. You'll notice that there are more numbering styles than offered in the user interface. For example:
Code:
Sub ApplyFormattingToNumList() Dim lt As ListTemplate Dim s As ListTemplate For Each s In ActiveDocument.ListTemplates If s.Name = "tryout" Then Set lt = s Exit For End If Next s With lt .ListLevels(1).NumberStyle = wdListNumberStyleLowercaseTurkish 'add code for other settings and for other levels here End With Selection.Range.ListFormat.ApplyListTemplate lt End Sub Code:
Sub CreateListTemplate() Dim lt As ListTemplate Set lt = ActiveDocument.ListTemplates.Add(OutlineNumbered:=True, Name:=tryout) End Sub
__________________
Stefan Blom Microsoft Word MVP Microsoft 365 apps for business Windows 11 Professional |
#3
|
|||
|
|||
That exists only in Word 2010
Mr.Blom,
First of all, thank you very much for your answer. It's my fault not to have said that I use Word 2003 and 2007. I am sorry for that. In Word 2010, you can write down a list on a blank page and convert it to a list style by the means of the user interface. The link below says that's already a new object in Word 2010: http://msdn.microsoft.com/en-us/library/ff834895.aspx I am using Word 2007 at home and Word 2003 at work. That's my problem. I need to create a list style (as a template maybe) and keep it to use as default numbering style anytime I need it. |
#4
|
|||
|
|||
Mr.Blom,
Thank you very much. I consider it solved at least for Word 2010. |
#5
|
||||
|
||||
Sorry, I didn't pay attention to the version you were using. I believe you are right: the options are not available in earlier versions of Word. :-(
__________________
Stefan Blom Microsoft Word MVP Microsoft 365 apps for business Windows 11 Professional |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Generate chart from list of text values | knownunknown | Excel | 6 | 04-24-2013 01:56 AM |
Page numbering special request | Ulodesk | Word | 1 | 12-07-2011 05:05 PM |
Outline numbering: 2.1 coming out as 1.1 | Remster | Word | 3 | 12-07-2011 12:16 PM |
Microsoft Word '10: Outline Numbering Help | Jerry31x | Word | 1 | 03-29-2011 09:34 AM |
Problems with outline numbering in Word 07 | rbilleaud | Word | 0 | 08-10-2009 12:23 PM |