to get current opened document for editing using .Net

Sakthi.Singaravel
Posted by Sakthi.Singaravel under VB.NET category on | Points: 40 | Views : 1046
The following code is used to get current opened document for editing using .Net

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

Comments or Responses

Login to post response