Getting Section Index from ActiveDocument.Range
Posted on 2009-07-10
I am trying to find a way where I can get the section index of Range. THe Range I am specifying is actually a Page which I am getting using
Set oRange = _
End:=ActiveDocument.Bookmarks("\page").End - 1)
So essentially I am trying to get a section of a page which I am on. For your information I know how to get the total section count of a document but here I want to know which is the section where my range currently is.
Could any expert help me on this as I am not so well in VBAprogramming