Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.
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,517 views

Published on

  • Be the first to comment

  • Be the first to like this

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

×