Ho un documento Word fatto così:

Queste quattro righe di codice
MsgBox ActiveDocument.Sections.Count
MsgBox ActiveDocument.Sections.Item(1).Range
MsgBox ActiveDocument.Sections.Item(2).Range
MsgBox ActiveDocument.Sections.Item(3).Range
hanno il seguente effetto:




Leave a Reply