A
associates76
Hi,
I wonder if i can get some helps here. In the bullets and numbering, we
can choose the one with the number format "Section 1.".
My question here is whether there is a way to capture the number "1"
using VBA codes.
For example, if we're at Section 3. , the code will return 3.
I have tried to use the following code but to no avail.
Selection.Collapse Direction:=wdCollapseStart
MsgBox "The insertion point is in section " & _
Selection.Information(wdActiveEndSectionNumber)
It looks like it returns the page number.
I use office word 03.
Thank you in advance
I wonder if i can get some helps here. In the bullets and numbering, we
can choose the one with the number format "Section 1.".
My question here is whether there is a way to capture the number "1"
using VBA codes.
For example, if we're at Section 3. , the code will return 3.
I have tried to use the following code but to no avail.
Selection.Collapse Direction:=wdCollapseStart
MsgBox "The insertion point is in section " & _
Selection.Information(wdActiveEndSectionNumber)
It looks like it returns the page number.
I use office word 03.
Thank you in advance
