QTP Script to add bold text to word document
dim a
set a=createobject("Word.Application")
a.Documents.Add
a.visible=true
a.selection.font.size=36
a.selection.font.name="Times New Roman"
a.selection.font.Bold=true
a.Selection.TypeText"HELLO"
a.ActiveDocument.Saveas"C:\qtp.doc"
QTP Script to add bold text to word document-VB Script to add bold text to word document
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment