Get MSWord's Current Page Number

Sakthi.Singaravel
Posted by Sakthi.Singaravel under VB.NET category on | Points: 40 | Views : 1327
MsgBox(MSWord.Selection.Information(WdInformation.wdSelectionMode))


Here MSWord is object for current opened word document.

Object declaration is,

Dim MSWord As Word.Application =  System.Runtime.InteropServices.Marshal.GetActiveObject("Word.Application")

Comments or Responses

Login to post response