For more QTP Realtime Scripts, visit www.ramupalanki.comSet objExcel = CreateObject(“Excel.Application”)objExcel.Visible =...
Upcoming SlideShare
Loading in …5
×

Qtp change excel cell color with condition

2,473 views
2,215 views

Published on

0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
2,473
On SlideShare
0
From Embeds
0
Number of Embeds
3
Actions
Shares
0
Downloads
12
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Qtp change excel cell color with condition

  1. 1. For more QTP Realtime Scripts, visit www.ramupalanki.comSet objExcel = CreateObject(“Excel.Application”)objExcel.Visible = Trueset newWorkbook=objExcel.Workbooks.AddSet objNewWorksheet= newWorkbook.Worksheets(1)objNewWorksheet.Range(“A1:A3″).Interior.ColorIndex = 3′ To select multiple cells‘(or)objNewWorksheet.Cells(1,2).Interior.ColorIndex = 3′To select single cellset objExcel=nothing

×