Qtp script to get count of number of words in Ms Word Document-VB Script to get count of number of words in Ms Word Document



Qtp script to get count of number of words in Ms Word Document


set a=createobject("Word.Application")

 a.visible=true

set b=a.Documents.open("C:\qtp.doc")

Msgbox "Number of Words = "& b.words.count

No comments:

Related Posts Plugin for WordPress, Blogger...

Fun and Knowledge