Showing posts with label QTP Script to change first cell font text to bold of an excel sheet. Show all posts
Showing posts with label QTP Script to change first cell font text to bold of an excel sheet. Show all posts

QTP Script to change first cell font text to bold of an excel sheet-VB Script to change first cell font text to bold of an excel sheet.


QTP Script to change first cell font text to bold of an excel sheet.



dim a,b,c

set a=createobject("Excel.Application")

a.visible=true

set b=a.workbooks.open("C:\QTP.xls")

set c=b.worksheets(1)

c.Cells(1,1).Value="QTP"

c.Cells(1,1).Font.Bold=True

b.save

Related Posts Plugin for WordPress, Blogger...

Fun and Knowledge