D
D
Damian Lewis2020-07-12 12:37:29
Word
Damian Lewis, 2020-07-12 12:37:29

How to search by numbering in Word?

There is a table in Word. You need to quickly jump to the various numbers in the list, but when searching, Word ignores the numbering of the list. How to search by numbering in Word?
5f0ad96b2311d188104445.jpeg

Answer the question

In order to leave comments, you need to log in

3 answer(s)
D
Damian Lewis, 2021-02-26
@DamianLewis

Thanks limboman found out which way to dig and found the answer to this question. Thank you. It will also be useful when you need to change only one number from the list without violating the whole order.
Now, in order:
1. Select "View -> Macros" on the ribbon panel
6038e7eb6b86a043227921.png
2. In the name field, write the name WITHOUT spaces. You can use an underscore, but you can't use a hyphen. Click create. Microsoft Visual Basic opens.
6038e802b530d831633115.png
3. In the window that opens, remove all unnecessary and insert the template. Click save.
6038e8120e75d210871479.png

Sub Procedure_1()
 
    Dim i As Long
    
    'Отключаем обновление монитора, чтобы быстрее работало.
    Application.ScreenUpdating = False
    
    For i = ActiveDocument.ListParagraphs.Count To 1 Step -1
        ActiveDocument.ListParagraphs(i).Range.ListFormat.ConvertNumbersToText
    Next i
 
    'Влкючаем обновление монитора.
    Application.ScreenUpdating = True
    
    'Сообщение, что код завершил работу.
    MsgBox "Код завершил работу!", vbInformation
    
End Sub

4. Now we can use our macro. Go back to View -> Macros and click Run.
6038e91b58892292964879.png
5. DONE!
6038e94c75f95755021324.png

L
limboman, 2021-02-17
@limboman

The Microsoft website suggests using the ActiveDocument.ConvertNumbersToText macro.
It will affect all lists in the document.
It is clear that after the dock it is no longer possible to save, but at least so.

A
Alexander, 2020-11-16
@magrega

It would seem such a simple thing, but I myself can not find the answer either. I'll post here if I find something.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question