Code Snippet posted by:
Sakthi.Singaravel | Posted on: 5/24/2012 | Category:
VB.NET Codes | Views: 515 | Status:
[Member] |
Points: 40
|
Alert Moderator
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") Regards,
Singaravel M