Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

Hi,All
How to change background color of a cell in excel using qtp
and that too with out using Excel Object.(I am importing
the excel sheet by using ImportSheet method)

Answer Posted / srinivasa reddy m

Set oExcel = Createobject("Excel.application")
oExcel.Visible = True
Set oWorkBook = oExcel.WorkBooks.Open("c:\Book1.xls")
Set oWorkSheet = oWorkBook.WorkSheets(1)
oWorkSheet.Cells(1,1).Interior.ColorIndex = 38

Is This Answer Correct ?    15 Yes 6 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How can you write the scripts that operate on different objects depending on run-time information?

2519


Hi frnds, does anybody know if there is anything called "thin point" or something in qtp? thanks in advance.

3459


How to use parameterization in qtp?

1020


how can i sent QTP results to the Html, notefile ,xl file give me the code using g mail login page

2247


How does qtp recognize objects in aut?

977


When using descriptive programming?

1038


How will you find the current time of the remote machine using QTP script?

1002


What is quicktest professional window?

937


How many add-ins comes by default with quicktest professional (qtp)?

946


When Recovery scenario actually starts while testing the application?

1972


what is review

2095


Give me detailed theritical explanation about keyword driven, hybrid framework, environment variables, hybrid frame work

1867


Plz Explain AUTOMATION REFERENCE MODEL?

2152


What are the steps involved in recovery scenario wizard?

929


what type of values given to objects. EX::Set oBrowser=Description.Create oBrowser(“micclass”).Value=”Browser”

1906