[ Word ] How to change style numbering format in figure caption

Hi all,

My document has 200 - 300 figure. So I want to number the caption with new style format ' 000'

this means figure 1 --- > figure 001 , figure 2 --- > figure 002

I  have configured this number figure via Reference --- > Insert Caption --- > Numbering --- > Choice Format 1, 2, 3 ...

So I only get this result Figure 1 , Figure 2 , ...

Please help me to change quickly  all number of figure to new format 001 , 002 , 003 ....

In the other ways, can you have me to create new style in format number as Format 01, 02 ,03 ... or Format 001, 002, 003

Thank in advance for all help! 

Brgs,

Ryan TRAN.

Answer
Answer

Run a macro containing the following code

Dim i As Long
Dim fcode As Range
With ActiveDocument
    For i = 1 To .Fields.count
        Set fcode = .Fields(i).Code
        If InStr(fcode, "SEQ Figure") > 0 Then
            fcode = "SEQ Figure \# 00#"
        End If
    Next i
    .Range.Fields.Update
End With

Hope this helps,
Doug Robbins - MVP Office Apps & Services (Word)
dougrobbinsmvp@gmail.com
It's time to replace ‘Diversity, Equity & Inclusion’ with ‘Excellence, Opportunity & Civility’ - V Ramaswamy

Was this reply helpful?

Sorry this didn't help.

Great! Thanks for your feedback.

How satisfied are you with this reply?

Thanks for your feedback, it helps us improve the site.

How satisfied are you with this reply?

Thanks for your feedback.

 
 

Question Info


Last updated October 5, 2021 Views 666 Applies to: