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...

Here in my automation tool, i am retreiving some values and
i need to store this values in the excel. How can i achieve
this?. We are using VBA as scripting language. please let
me know if you require any further inputs.

Answer Posted / suryanarayan mohanty

Set fs = CreateObject("Excel.Application")

If Not (fs.fileexists(FileName)) Then

Set fd = fs.createFile(FileName)
End If

Open FileName For Append As 1
Write #1, xyz, dwe, qws
Close #1
End If

Is This Answer Correct ?    1 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Which function is used to perform string comparison?

1052


what is the difference between modular and data and keyword driven framework

2192


when we use filter funtiom invb script(QTP)

2725


What is the main difference between function and sub-procedure?

986


If a calulator having 3 buttons (of any number)in 3 of them one is not working properly due to which answer is wrong always. write a script to find out which button is not working properly ?

1966


Explain what is loose binding? Why is it not a good practice to use it?

1023


How will you check that a variable is an array in vbscript?

947


What is the purpose of folders object of scripting.filesystemobject class in vbscript?

1308


how to write a vb script in QTP for yahoo registration form, i want to check the performance also like performance test, stress, load test like that.

5153


why variable name should not exceed 255 characters?

2167


What is the difference between javascript and vbscript?

1076


what is the object hyrarchy in QTP for a web based application

2309


can anyone tell me the procedure of interview held in applabs

2127


Which in-built functions are used to convert the specified expression in the form of date and string in the vbscript language?

946


By default in vbscript the arguments passed to functions and subroutines are by reference or by value?

1018